File tree 2 files changed +23
-0
lines changed
2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "plugins" : [],
3
+ "extends" : [" eslint:recommended" ],
4
+ "env" : {
5
+ "mocha" : true ,
6
+ "es6" : true
7
+ },
8
+ "parserOptions" : {
9
+ "ecmaVersion" : 6 ,
10
+ "sourceType" : " module" ,
11
+ "ecmaFeatures" : {
12
+ "impliedStrict" : true ,
13
+ "modules" : true
14
+ }
15
+ },
16
+ "rules" : {
17
+ "indent" : [2 , " tab" ],
18
+ "no-console" : [0 ],
19
+ "no-unused-vars" : [1 ]
20
+ }
21
+ }
Original file line number Diff line number Diff line change 5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
7
"build" : " rm -rf lib/ && babel src -d lib" ,
8
+ "lint" : " eslint src/" ,
8
9
"test" : " mocha --compilers js:babel-register test/**/*.test.js"
9
10
},
10
11
"repository" : {
30
31
"babel-core" : " ^6.13.2" ,
31
32
"babel-preset-es2015" : " ^6.13.2" ,
32
33
"chai" : " ^3.5.0" ,
34
+ "eslint" : " ^3.2.2" ,
33
35
"mocha" : " ^3.0.2"
34
36
}
35
37
}
You can’t perform that action at this time.
0 commit comments