diff options
author | Markus Doits <markus.doits@stellenticket.de> | 2016-07-25 16:03:07 +0200 |
---|---|---|
committer | Markus Doits <markus.doits@stellenticket.de> | 2016-07-25 16:03:07 +0200 |
commit | 295096252547f3abb76788fbadf0ce059e74f2cc (patch) | |
tree | 3694ebac61dadfc16e1103c4b9e2882ac203b519 /spec/fixtures | |
parent | 676cea90d963dc89ca9a9a38625fc7cd1cf3b5bc (diff) | |
download | pronto-hlint-295096252547f3abb76788fbadf0ce059e74f2cc.tar.gz pronto-hlint-295096252547f3abb76788fbadf0ce059e74f2cc.tar.zst pronto-hlint-295096252547f3abb76788fbadf0ce059e74f2cc.zip |
Use system eslint instead of eslintrb
This makes sure `eslint` works as expected, e.g. the config used is
respected and full feature set is present.
One has to make sure `eslint` is properly installed, though.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/eslintignore.git/.eslintrc | 7 | ||||
-rw-r--r-- | spec/fixtures/test.git/.eslintrc | 7 | ||||
-rw-r--r-- | spec/fixtures/test.git/hello.js | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/spec/fixtures/eslintignore.git/.eslintrc b/spec/fixtures/eslintignore.git/.eslintrc new file mode 100644 index 0000000..f94ba96 --- /dev/null +++ b/spec/fixtures/eslintignore.git/.eslintrc | |||
@@ -0,0 +1,7 @@ | |||
1 | { | ||
2 | "env": { | ||
3 | "browser": true, | ||
4 | "es6": true | ||
5 | }, | ||
6 | "extends": "eslint:recommended" | ||
7 | } | ||
diff --git a/spec/fixtures/test.git/.eslintrc b/spec/fixtures/test.git/.eslintrc new file mode 100644 index 0000000..f94ba96 --- /dev/null +++ b/spec/fixtures/test.git/.eslintrc | |||
@@ -0,0 +1,7 @@ | |||
1 | { | ||
2 | "env": { | ||
3 | "browser": true, | ||
4 | "es6": true | ||
5 | }, | ||
6 | "extends": "eslint:recommended" | ||
7 | } | ||
diff --git a/spec/fixtures/test.git/hello.js b/spec/fixtures/test.git/hello.js index 2d1b996..6ad633d 100644 --- a/spec/fixtures/test.git/hello.js +++ b/spec/fixtures/test.git/hello.js | |||
@@ -3,3 +3,5 @@ function HelloWorld(name) | |||
3 | if (foo) foo++; | 3 | if (foo) foo++; |
4 | alert(name); | 4 | alert(name); |
5 | } | 5 | } |
6 | |||
7 | function Empty() {} | ||