eslint-config-marudor
Advanced tools
Comparing version 1.0.9 to 2.0.0
@@ -8,2 +8,3 @@ var bestPractice = require('./rules/bestPractice'); | ||
var flow = require('./rules/flow'); | ||
var classProperty = require('./rules/classProperty'); | ||
@@ -19,7 +20,8 @@ module.exports = { | ||
}, | ||
rules: Object.assign({}, bestPractice, errors, es6, stylistic, variables, react, flow), | ||
rules: Object.assign({}, bestPractice, errors, es6, stylistic, variables, react, flow, classProperty), | ||
plugins: [ | ||
'react', | ||
'flow-vars' | ||
'flow-vars', | ||
'class-property' | ||
] | ||
}; |
@@ -7,2 +7,3 @@ var bestPractice = require('./rules/bestPractice'); | ||
var flow = require('./rules/flow'); | ||
var classProperty = require('./rules/classProperty'); | ||
@@ -17,6 +18,7 @@ module.exports = { | ||
}, | ||
rules: Object.assign({}, bestPractice, errors, es6, stylistic, variables, flow), | ||
rules: Object.assign({}, bestPractice, errors, es6, stylistic, variables, flow, classProperty), | ||
plugins: [ | ||
'flow-vars' | ||
'flow-vars', | ||
'class-property' | ||
] | ||
} |
{ | ||
"name": "eslint-config-marudor", | ||
"version": "1.0.9", | ||
"version": "2.0.0", | ||
"description": "Eslint Configuration for private use", | ||
@@ -21,6 +21,7 @@ "main": "index.js", | ||
"homepage": "https://github.com/marudor/eslint-config-marudor#readme", | ||
"peerDependencies": { | ||
"eslint": "^2.0.0", | ||
"babel-eslint": "^5.0.0||^6.0.0-beta||^6.0.0" | ||
"dependency": { | ||
"eslint": "^3.0.0", | ||
"babel-eslint": "^6.0.0", | ||
"eslint-plugin-class-property": "^0.0.3" | ||
} | ||
} |
@@ -20,8 +20,10 @@ module.exports = { | ||
'no-irregular-whitespace': 2, | ||
'no-mixed-operators': ["error", {"allowSamePrecedence": true}] | ||
'no-negated-in-lhs': 2, | ||
'no-obj-calls': 1, | ||
'no-regex-spaces': 2, | ||
'no-sparse-arrays': 2, | ||
'no-regex-spaces': 2, | ||
'no-unexpected-multiline': 2, | ||
'no-unreachable': 2, | ||
'no-unsafe-finally': 2, | ||
'use-isnan': 2, | ||
@@ -28,0 +30,0 @@ 'valid-jsdoc': 0, |
@@ -6,3 +6,3 @@ module.exports = { | ||
'constructor-super': 2, | ||
'generator-star-spacing': [2, 'after'], | ||
'generator-star-spacing': 0, | ||
'no-class-assign': 2, | ||
@@ -14,4 +14,4 @@ 'no-confusing-arrow': 0, | ||
'no-this-before-super': 2, | ||
'no-useless-constructor': 0, | ||
'no-var': 2, | ||
'no-useless-constructor': 0, | ||
'object-shorthand': 2, | ||
@@ -25,4 +25,5 @@ 'prefer-arrow-callback': 2, | ||
'require-yield': 2, | ||
'rest-spread-spacing': ["error", "never"], | ||
'template-curly-spacing': 0, | ||
'yield-star-spacing': 0 | ||
}; |
@@ -13,5 +13,5 @@ module.exports = { | ||
'func-style': 0, | ||
'id-blacklist': 0, | ||
'id-length': 0, | ||
'id-match': 0, | ||
'id-blacklist': 0, | ||
'indent': 0, | ||
@@ -25,4 +25,6 @@ 'jsx-quotes': [2, 'prefer-double'], | ||
'max-len': 0, | ||
'max-lines': 0, | ||
'max-nested-callbacks': 0, | ||
'max-params': 0, | ||
'max-statements-per-line': [2, { "max": 1 }], | ||
'max-statements': 0, | ||
@@ -36,2 +38,3 @@ 'new-cap': 0, | ||
'no-continue': 2, | ||
'no-duplicate-imports': 2, | ||
'no-inline-comments': 0, | ||
@@ -46,3 +49,2 @@ 'no-lonely-if': 2, | ||
'no-restricted-syntax': 0, | ||
'no-whitespace-before-property': 2, | ||
'no-spaced-func': 2, | ||
@@ -52,5 +54,10 @@ 'no-ternary': 0, | ||
'no-unneeded-ternary': 2, | ||
'no-useless-computed-key': 2, | ||
'no-useless-escape': 2, | ||
'no-whitespace-before-property': 2, | ||
'object-curly-newline': 0, | ||
'object-curly-spacing': [2, 'always'], | ||
'object-property-newline': 0, | ||
'one-var-declaration-per-line': 0, | ||
'one-var': 0, | ||
'one-var-declaration-per-line': 0, | ||
'operator-assignment': 2, | ||
@@ -64,4 +71,4 @@ 'operator-linebreak': 0, | ||
'semi': 2, | ||
'sort-imports': 0, | ||
'sort-vars': 0, | ||
'sort-imports': 0, | ||
'space-before-blocks': 0, | ||
@@ -68,0 +75,0 @@ 'space-before-function-paren': [2, 'never'], |
9553
0
14
288