eslint-config-usecases
Advanced tools
Comparing version 1.1.0 to 1.2.1
{ | ||
"name": "eslint-config-usecases", | ||
"description": "ESLint configs by usecase", | ||
"version": "1.1.0", | ||
"version": "1.2.1", | ||
"author": "Marc-Aurèle DARCHE", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -71,4 +71,4 @@ eslint-config-usecases | ||
Those linting and style rules are the ones I use for the projects I work on, but | ||
fill free to contribute if you have similar tastes. | ||
feel free to contribute if you have similar tastes. | ||
So pull Requests and contributions in general are welcome |
@@ -6,4 +6,6 @@ module.exports = { | ||
jquery: true, | ||
es6: false | ||
commonjs: false, | ||
es6: false, | ||
node: false | ||
} | ||
}; |
module.exports = { | ||
extends: 'usecases/usecase/lib/common', | ||
extends: 'usecases/usecase/nodejs', | ||
env: { | ||
@@ -4,0 +4,0 @@ mocha: true |
module.exports = { | ||
extends: 'usecases/usecase/lib/common', | ||
extends: ['usecases/usecase/lib/common','usecases/usecase/lib/es2015'], | ||
env: { | ||
@@ -10,5 +10,2 @@ es6: true, | ||
// Don't use "var", only use "let" and "const" | ||
'no-var': 'error', | ||
// Use "require" statements in the global scope context (eg. no | ||
@@ -18,7 +15,2 @@ // "require" statements inside functions, etc.) | ||
// Use arrow functions instead of callbacks | ||
'prefer-arrow-callback': 'error', | ||
// Use parentheses around arrow function params even if empty | ||
'arrow-parens': 'error', | ||
// No Sync methods are they degrade perfs | ||
@@ -25,0 +17,0 @@ 'no-sync': 'error', |
8793
16
123