Skip to content

Commit 6f31ad2

Browse files
committed
feat(app): Add more eslintrc options
1 parent 6d1d9af commit 6f31ad2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.eslintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@
77
],
88
"rules": {
99
"strict": 0,
10+
"camelcase": 0,
1011
"curly": 0,
1112
"indent": [0, "tab"],
1213
"nodeca/indent": [2, "tabs", 1 ],
1314
"eol-last": 1,
1415
"no-shadow": 0,
1516
"no-redeclare": 1,
1617
"no-extra-bind": 1,
18+
"no-empty": 0,
19+
"no-process-exit": 1,
1720
"no-underscore-dangle": 0,
1821
"no-use-before-define": 0,
22+
"no-unused-vars": 0,
1923
"consistent-return": 0,
2024
"no-inner-declarations": 1,
2125
"no-loop-func": 1,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"test": "mocha",
7878
"travis": "npm run cover -- --report lcovonly",
7979
"lint": "eslint lib",
80-
"jsbeautify": "js-beautify --indent-with-tabs --end-with-newline --space-after-anon-function=false lib/**/*.js -r",
80+
"jsbeautify": "js-beautify --indent-with-tabs --end-with-newline lib/**/*.js lib/*.js -r",
8181
"precover": "npm run lint",
8282
"cover": "istanbul cover -x *.runtime.js node_modules/mocha/bin/_mocha",
8383
"publish-patch": "mocha && npm version patch && git push && git push --tags && npm publish"

0 commit comments

Comments
 (0)