aboutsummaryrefslogtreecommitdiffhomepage
path: root/spec/fixtures/test.git
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@stellenticket.de>2016-07-25 16:03:07 +0200
committerMarkus Doits <markus.doits@stellenticket.de>2016-07-25 16:03:07 +0200
commit295096252547f3abb76788fbadf0ce059e74f2cc (patch)
tree3694ebac61dadfc16e1103c4b9e2882ac203b519 /spec/fixtures/test.git
parent676cea90d963dc89ca9a9a38625fc7cd1cf3b5bc (diff)
downloadpronto-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/test.git')
-rw-r--r--spec/fixtures/test.git/.eslintrc7
-rw-r--r--spec/fixtures/test.git/hello.js2
2 files changed, 9 insertions, 0 deletions
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
7function Empty() {}