File tree Expand file tree Collapse file tree 5 files changed +355
-324
lines changed Expand file tree Collapse file tree 5 files changed +355
-324
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "parserOptions" : {
3+ "ecmaVersion" : 5
4+ },
5+ "extends" : " eslint:recommended" ,
6+ "env" : {
7+ "commonjs" : true ,
8+ "browser" : true
9+ },
10+ "rules" : {
11+ "strict" : [2 , " global" ],
12+ "block-scoped-var" : 2 ,
13+ "consistent-return" : 2 ,
14+ "eqeqeq" : [2 , " smart" ],
15+ "guard-for-in" : 2 ,
16+ "no-caller" : 2 ,
17+ "no-extend-native" : 2 ,
18+ "no-loop-func" : 2 ,
19+ "no-new" : 2 ,
20+ "no-param-reassign" : 2 ,
21+ "no-return-assign" : 2 ,
22+ "no-unused-expressions" : 2 ,
23+ "no-use-before-define" : 2 ,
24+ "radix" : [2 , " always" ],
25+ "indent" : [2 , 2 ],
26+ "quotes" : [2 , " double" ],
27+ "semi" : [2 , " always" ]
28+ }
29+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ bower_components/
44package-lock.json
55
66/. *
7+ ! /.eslintrc.json
78! /.github
89! /.gitignore
910
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ New features:
1212Bugfixes:
1313
1414Other improvements:
15+ - Added ESLint config and fixed the resulting linter issues (#82 )
1516
1617## [ v5.0.0] ( https://github.com/purescript-web/purescript-canvas/releases/tag/v5.0.0 ) - 2021-02-26
1718
Original file line number Diff line number Diff line change 22 "private" : true ,
33 "scripts" : {
44 "clean" : " rimraf output && rimraf .pulp-cache" ,
5- "build" : " pulp build -- --censor-lib --strict"
5+ "build" : " eslint src && pulp build -- --censor-lib --strict"
66 },
77 "devDependencies" : {
8+ "eslint" : " ^7.32.0" ,
89 "pulp" : " ^15.0.0" ,
910 "purescript-psa" : " ^0.8.0" ,
1011 "rimraf" : " ^3.0.2"
You can’t perform that action at this time.
0 commit comments