eslint-config-zavatta
Advanced tools
Comparing version 3.0.3 to 4.0.0
56
index.js
module.exports = { | ||
parser: 'babel-eslint', | ||
@@ -9,2 +8,34 @@ env: { | ||
rules: { | ||
'accessor-pairs': 2, | ||
'consistent-return': 0, | ||
'max-depth': 2, | ||
'array-callback-return': 2, | ||
'id-blacklist': 0, | ||
'max-statements': 0, | ||
'newline-per-chained-call': 0, | ||
'no-confusing-arrow': 0, | ||
'no-empty-function': 2, | ||
'no-extra-boolean-cast': 2, | ||
'no-implicit-coercion': [2, { 'allow': ['!!', '~'] } ], | ||
'arrow-body-style': 0, | ||
'max-lines': 0, | ||
'no-bitwise': 0, | ||
'no-duplicate-imports': 2, | ||
'no-extra-label': 2, | ||
'no-inner-declarations': 2, | ||
'no-new-symbol': 2, | ||
'no-restricted-globals': 0, | ||
'dot-location': [2, 'property'], | ||
'max-len': [2, 100], | ||
'max-statements-per-line': 2, | ||
'newline-before-return': 0, | ||
'no-case-declarations': 2, | ||
'no-control-regex': 2, | ||
'no-empty-pattern': 2, | ||
'no-eq-null': 2, | ||
'no-extra-parens': 2, | ||
'no-implicit-globals': 2, | ||
'no-magic-numbers': 0, | ||
'no-mixed-operators': 2, | ||
'no-plusplus': 0, | ||
'comma-dangle': [2, 'always-multiline'], | ||
@@ -177,5 +208,24 @@ 'no-cond-assign': [2, 'always'], | ||
'require-yield': 2, | ||
'max-params': [2, 5] | ||
'max-params': [2, 5], | ||
'no-prototype-builtins': 0, | ||
'no-restricted-imports': 0, | ||
'no-self-assign': 2, | ||
'no-unmodified-loop-condition': 0, | ||
'no-unsafe-finally': 2, | ||
'no-unused-labels': 2, | ||
'no-useless-computed-key': 2, | ||
'no-useless-constructor': 2, | ||
'no-useless-escape': 2, | ||
'no-useless-rename': 2, | ||
'no-whitespace-before-property': 2, | ||
'object-curly-newline': [2, { 'multiline': true }], | ||
'object-property-newline': [2, { 'allowMultiplePropertiesPerLine': true }], | ||
'one-var-declaration-per-line': 2, | ||
'prefer-rest-params': 2, | ||
'rest-spread-spacing': 2, | ||
'sort-imports': 0, | ||
'template-curly-spacing': 2, | ||
'unicode-bom': 2, | ||
'yield-star-spacing': [2, 'after'] | ||
} | ||
} |
{ | ||
"name": "eslint-config-zavatta", | ||
"version": "3.0.3", | ||
"version": "4.0.0", | ||
"description": "An eslint config, designed to help you in dark times.", | ||
"main": "index.js", | ||
"author": "42Zavattas", | ||
"license": "BSD" | ||
"license": "BSD", | ||
"scripts": { | ||
"find-rules": "eslint-find-rules -u index.js -n" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^6.1.2", | ||
"eslint": "^3.0.1", | ||
"eslint-find-rules": "^1.11.0" | ||
} | ||
} |
7008
229
3