eslint-config-es
Advanced tools
Comparing version 0.1.0 to 0.3.0
@@ -63,3 +63,3 @@ 'use strict'; | ||
'no-empty': 2, | ||
'no-empty-class': 2, | ||
'no-empty-character-class': 2, | ||
'no-ex-assign': 2, | ||
@@ -82,3 +82,5 @@ 'no-extra-boolean-cast': 2, | ||
'valid-typeof': 2, | ||
'no-unexpected-multiline': 2, | ||
'accessor-pairs': [ 2, { 'getWithoutSet': false, 'setWithoutGet': true }], | ||
'block-scoped-var': 2, | ||
@@ -90,3 +92,3 @@ 'complexity': [ 0, 11 ], | ||
'dot-location': [ 2, 'object' ], | ||
'dot-notation': [ 2, { 'allowKeywords': true } ], | ||
'dot-notation': [ 2, { 'allowKeywords': true }], | ||
'eqeqeq': 2, | ||
@@ -122,3 +124,3 @@ 'guard-for-in': 2, | ||
'no-redeclare': 2, | ||
'no-return-assign': 2, | ||
'no-return-assign': [ 2, 'always' ], | ||
'no-script-url': 2, | ||
@@ -147,3 +149,3 @@ 'no-self-compare': 2, | ||
'no-undefined': 0, | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' } ], | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' }], | ||
'no-use-before-define': 2, | ||
@@ -159,6 +161,8 @@ | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false } ], | ||
'array-bracket-spacing': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false }], | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false }], | ||
'camelcase': 2, | ||
'comma-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'comma-spacing': [ 2, { 'before': false, 'after': true }], | ||
'comma-style': [ 2, 'last' ], | ||
'computed-property-spacing': [2, 'never'], | ||
'consistent-this': [ 2, 'that' ], | ||
@@ -169,6 +173,14 @@ 'eol-last': 2, | ||
'indent': [2, 2, { 'indentSwitchCase': true }], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true } ], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true }], | ||
'linebreak-style': [ 2, 'unix' ], | ||
'lines-around-comment': [ 2, { | ||
'beforeBlockComment': true, | ||
'afterBlockComment': false, | ||
'beforeLineComment': true, | ||
'afterLineComment': true, | ||
'allowBlockStart': true, | ||
'allowBlockEnd': false | ||
}], | ||
'max-nested-callbacks': [ 0, 3 ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true } ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true }], | ||
'new-parens': 2, | ||
@@ -181,3 +193,3 @@ 'newline-after-var': [ 2, 'always' ], | ||
'no-mixed-spaces-and-tabs': [ 2 ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 } ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 }], | ||
'no-nested-ternary': 2, | ||
@@ -187,6 +199,10 @@ 'no-new-object': 2, | ||
'no-ternary': 0, | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false } ], | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false }], | ||
'no-underscore-dangle': 2, | ||
'no-unneeded-ternary': 2, | ||
'no-wrap-func': 2, | ||
'object-curly-spacing': [2, 'always', { | ||
'objectsInObjects': false, | ||
'arraysInObjects': false | ||
}], | ||
'one-var': 0, | ||
@@ -199,18 +215,21 @@ 'operator-assignment': [ 2, 'always' ], | ||
'semi': [ 2, 'always' ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'sort-vars': [ 2, { 'ignoreCase': true } ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true }], | ||
'sort-vars': [ 2, { 'ignoreCase': true }], | ||
'space-after-keywords': [ 2, 'always' ], | ||
'space-before-blocks': [ 2, 'always' ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' } ], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false } ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' }], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false }], | ||
'space-in-parens': [ 2, 'never' ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false } ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false }], | ||
'space-return-throw-case': 2, | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false } ], | ||
'spaced-line-comment': [ 2, 'always' ], | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false }], | ||
'spaced-comment': [ 2, 'always' ], | ||
'wrap-regex': 0, | ||
'constructor-super': 2, | ||
'generator-star-spacing': [ 2, 'both' ], | ||
'no-this-before-super': 2, | ||
'no-var': 2, | ||
'object-shorthand': [ 2, 'always' ], | ||
'prefer-const': 2, | ||
@@ -217,0 +236,0 @@ 'max-depth': [ 0, 4 ], |
@@ -62,3 +62,3 @@ 'use strict'; | ||
'no-empty': 2, | ||
'no-empty-class': 2, | ||
'no-empty-character-class': 2, | ||
'no-ex-assign': 2, | ||
@@ -81,3 +81,5 @@ 'no-extra-boolean-cast': 2, | ||
'valid-typeof': 2, | ||
'no-unexpected-multiline': 2, | ||
'accessor-pairs': [ 2, { 'getWithoutSet': false, 'setWithoutGet': true }], | ||
'block-scoped-var': 2, | ||
@@ -89,3 +91,3 @@ 'complexity': [ 0, 11 ], | ||
'dot-location': [ 2, 'object' ], | ||
'dot-notation': [ 2, { 'allowKeywords': true } ], | ||
'dot-notation': [ 2, { 'allowKeywords': true }], | ||
'eqeqeq': 2, | ||
@@ -121,3 +123,3 @@ 'guard-for-in': 2, | ||
'no-redeclare': 2, | ||
'no-return-assign': 2, | ||
'no-return-assign': [ 2, 'always' ], | ||
'no-script-url': 2, | ||
@@ -146,3 +148,3 @@ 'no-self-compare': 2, | ||
'no-undefined': 0, | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' } ], | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' }], | ||
'no-use-before-define': 2, | ||
@@ -158,6 +160,8 @@ | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false } ], | ||
'array-bracket-spacing': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false }], | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false }], | ||
'camelcase': 2, | ||
'comma-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'comma-spacing': [ 2, { 'before': false, 'after': true }], | ||
'comma-style': [ 2, 'last' ], | ||
'computed-property-spacing': [2, 'never'], | ||
'consistent-this': [ 2, 'that' ], | ||
@@ -168,6 +172,14 @@ 'eol-last': 2, | ||
'indent': [2, 2, { 'indentSwitchCase': true }], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true } ], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true }], | ||
'linebreak-style': [ 2, 'unix' ], | ||
'lines-around-comment': [ 2, { | ||
'beforeBlockComment': true, | ||
'afterBlockComment': false, | ||
'beforeLineComment': true, | ||
'afterLineComment': true, | ||
'allowBlockStart': true, | ||
'allowBlockEnd': false | ||
}], | ||
'max-nested-callbacks': [ 0, 3 ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true } ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true }], | ||
'new-parens': 2, | ||
@@ -180,3 +192,3 @@ 'newline-after-var': [ 2, 'always' ], | ||
'no-mixed-spaces-and-tabs': [ 2 ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 } ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 }], | ||
'no-nested-ternary': 2, | ||
@@ -186,6 +198,10 @@ 'no-new-object': 2, | ||
'no-ternary': 0, | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false } ], | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false }], | ||
'no-underscore-dangle': 2, | ||
'no-unneeded-ternary': 2, | ||
'no-wrap-func': 2, | ||
'object-curly-spacing': [2, 'always', { | ||
'objectsInObjects': false, | ||
'arraysInObjects': false | ||
}], | ||
'one-var': 0, | ||
@@ -198,18 +214,21 @@ 'operator-assignment': [ 2, 'always' ], | ||
'semi': [ 2, 'always' ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'sort-vars': [ 2, { 'ignoreCase': true } ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true }], | ||
'sort-vars': [ 2, { 'ignoreCase': true }], | ||
'space-after-keywords': [ 2, 'always' ], | ||
'space-before-blocks': [ 2, 'always' ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' } ], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false } ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' }], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false }], | ||
'space-in-parens': [ 2, 'never' ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false } ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false }], | ||
'space-return-throw-case': 2, | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false } ], | ||
'spaced-line-comment': [ 2, 'always' ], | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false }], | ||
'spaced-comment': [ 2, 'always' ], | ||
'wrap-regex': 0, | ||
'constructor-super': 2, | ||
'generator-star-spacing': [ 2, 'both' ], | ||
'no-this-before-super': 2, | ||
'no-var': 2, | ||
'object-shorthand': [ 2, 'always' ], | ||
'prefer-const': 2, | ||
@@ -216,0 +235,0 @@ 'max-depth': [ 0, 4 ], |
@@ -63,3 +63,3 @@ 'use strict'; | ||
'no-empty': 2, | ||
'no-empty-class': 2, | ||
'no-empty-character-class': 2, | ||
'no-ex-assign': 2, | ||
@@ -82,3 +82,5 @@ 'no-extra-boolean-cast': 2, | ||
'valid-typeof': 2, | ||
'no-unexpected-multiline': 2, | ||
'accessor-pairs': [ 2, { 'getWithoutSet': false, 'setWithoutGet': true }], | ||
'block-scoped-var': 2, | ||
@@ -90,3 +92,3 @@ 'complexity': [ 0, 11 ], | ||
'dot-location': [ 2, 'object' ], | ||
'dot-notation': [ 2, { 'allowKeywords': true } ], | ||
'dot-notation': [ 2, { 'allowKeywords': true }], | ||
'eqeqeq': 2, | ||
@@ -122,3 +124,3 @@ 'guard-for-in': 2, | ||
'no-redeclare': 2, | ||
'no-return-assign': 2, | ||
'no-return-assign': [ 2, 'always' ], | ||
'no-script-url': 2, | ||
@@ -147,3 +149,3 @@ 'no-self-compare': 2, | ||
'no-undefined': 0, | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' } ], | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' }], | ||
'no-use-before-define': 2, | ||
@@ -159,6 +161,8 @@ | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false } ], | ||
'array-bracket-spacing': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false }], | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false }], | ||
'camelcase': 2, | ||
'comma-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'comma-spacing': [ 2, { 'before': false, 'after': true }], | ||
'comma-style': [ 2, 'last' ], | ||
'computed-property-spacing': [2, 'never'], | ||
'consistent-this': [ 2, 'that' ], | ||
@@ -169,6 +173,14 @@ 'eol-last': 2, | ||
'indent': [2, 2, { 'indentSwitchCase': true }], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true } ], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true }], | ||
'linebreak-style': [ 2, 'unix' ], | ||
'lines-around-comment': [ 2, { | ||
'beforeBlockComment': true, | ||
'afterBlockComment': false, | ||
'beforeLineComment': true, | ||
'afterLineComment': true, | ||
'allowBlockStart': true, | ||
'allowBlockEnd': false | ||
}], | ||
'max-nested-callbacks': [ 0, 3 ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true } ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true }], | ||
'new-parens': 2, | ||
@@ -181,3 +193,3 @@ 'newline-after-var': [ 2, 'always' ], | ||
'no-mixed-spaces-and-tabs': [ 2 ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 } ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 }], | ||
'no-nested-ternary': 2, | ||
@@ -187,6 +199,10 @@ 'no-new-object': 2, | ||
'no-ternary': 0, | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false } ], | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false }], | ||
'no-underscore-dangle': 2, | ||
'no-unneeded-ternary': 2, | ||
'no-wrap-func': 2, | ||
'object-curly-spacing': [2, 'always', { | ||
'objectsInObjects': false, | ||
'arraysInObjects': false | ||
}], | ||
'one-var': 0, | ||
@@ -199,18 +215,21 @@ 'operator-assignment': [ 2, 'always' ], | ||
'semi': [ 2, 'always' ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'sort-vars': [ 2, { 'ignoreCase': true } ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true }], | ||
'sort-vars': [ 2, { 'ignoreCase': true }], | ||
'space-after-keywords': [ 2, 'always' ], | ||
'space-before-blocks': [ 2, 'always' ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' } ], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false } ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' }], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false }], | ||
'space-in-parens': [ 2, 'never' ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false } ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false }], | ||
'space-return-throw-case': 2, | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false } ], | ||
'spaced-line-comment': [ 2, 'always' ], | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false }], | ||
'spaced-comment': [ 2, 'always' ], | ||
'wrap-regex': 0, | ||
'constructor-super': 0, | ||
'generator-star-spacing': [ 2, 'both' ], | ||
'no-this-before-super': 0, | ||
'no-var': 0, | ||
'object-shorthand': [ 2, 'never' ], | ||
'prefer-const': 0, | ||
@@ -217,0 +236,0 @@ 'max-depth': [ 0, 4 ], |
@@ -62,3 +62,3 @@ 'use strict'; | ||
'no-empty': 2, | ||
'no-empty-class': 2, | ||
'no-empty-character-class': 2, | ||
'no-ex-assign': 2, | ||
@@ -81,3 +81,5 @@ 'no-extra-boolean-cast': 2, | ||
'valid-typeof': 2, | ||
'no-unexpected-multiline': 2, | ||
'accessor-pairs': [ 2, { 'getWithoutSet': false, 'setWithoutGet': true }], | ||
'block-scoped-var': 2, | ||
@@ -89,3 +91,3 @@ 'complexity': [ 0, 11 ], | ||
'dot-location': [ 2, 'object' ], | ||
'dot-notation': [ 2, { 'allowKeywords': true } ], | ||
'dot-notation': [ 2, { 'allowKeywords': true }], | ||
'eqeqeq': 2, | ||
@@ -121,3 +123,3 @@ 'guard-for-in': 2, | ||
'no-redeclare': 2, | ||
'no-return-assign': 2, | ||
'no-return-assign': [ 2, 'always' ], | ||
'no-script-url': 2, | ||
@@ -146,3 +148,3 @@ 'no-self-compare': 2, | ||
'no-undefined': 0, | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' } ], | ||
'no-unused-vars': [ 2, { 'vars': 'all', 'args': 'after-used' }], | ||
'no-use-before-define': 2, | ||
@@ -158,6 +160,8 @@ | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false } ], | ||
'array-bracket-spacing': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false }], | ||
'brace-style': [ 2, '1tbs', { 'allowSingleLine': false }], | ||
'camelcase': 2, | ||
'comma-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'comma-spacing': [ 2, { 'before': false, 'after': true }], | ||
'comma-style': [ 2, 'last' ], | ||
'computed-property-spacing': [2, 'never'], | ||
'consistent-this': [ 2, 'that' ], | ||
@@ -168,6 +172,14 @@ 'eol-last': 2, | ||
'indent': [2, 2, { 'indentSwitchCase': true }], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true } ], | ||
'key-spacing': [ 2, { 'beforeColon': false, 'afterColon': true }], | ||
'linebreak-style': [ 2, 'unix' ], | ||
'lines-around-comment': [ 2, { | ||
'beforeBlockComment': true, | ||
'afterBlockComment': false, | ||
'beforeLineComment': true, | ||
'afterLineComment': true, | ||
'allowBlockStart': true, | ||
'allowBlockEnd': false | ||
}], | ||
'max-nested-callbacks': [ 0, 3 ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true } ], | ||
'new-cap': [ 2, { 'newIsCap': true, 'capIsNew': true }], | ||
'new-parens': 2, | ||
@@ -180,3 +192,3 @@ 'newline-after-var': [ 2, 'always' ], | ||
'no-mixed-spaces-and-tabs': [ 2 ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 } ], | ||
'no-multiple-empty-lines': [ 2, { 'max': 1 }], | ||
'no-nested-ternary': 2, | ||
@@ -186,6 +198,10 @@ 'no-new-object': 2, | ||
'no-ternary': 0, | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false } ], | ||
'no-trailing-spaces': [ 2, { 'skipBlankLines': false }], | ||
'no-underscore-dangle': 2, | ||
'no-unneeded-ternary': 2, | ||
'no-wrap-func': 2, | ||
'object-curly-spacing': [2, 'always', { | ||
'objectsInObjects': false, | ||
'arraysInObjects': false | ||
}], | ||
'one-var': 0, | ||
@@ -198,18 +214,21 @@ 'operator-assignment': [ 2, 'always' ], | ||
'semi': [ 2, 'always' ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true } ], | ||
'sort-vars': [ 2, { 'ignoreCase': true } ], | ||
'semi-spacing': [ 2, { 'before': false, 'after': true }], | ||
'sort-vars': [ 2, { 'ignoreCase': true }], | ||
'space-after-keywords': [ 2, 'always' ], | ||
'space-before-blocks': [ 2, 'always' ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' } ], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false } ], | ||
'space-before-function-paren': [ 2, { 'anonymous': 'always', 'named': 'always' }], | ||
'space-in-brackets': [ 2, 'always', { 'singleValue': true, 'objectsInArrays': false, 'arraysInArrays': false, 'arraysInObjects': false, 'objectsInObjects': false, 'propertyName': false }], | ||
'space-in-parens': [ 2, 'never' ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false } ], | ||
'space-infix-ops': [ 2, { 'int32Hint': false }], | ||
'space-return-throw-case': 2, | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false } ], | ||
'spaced-line-comment': [ 2, 'always' ], | ||
'space-unary-ops': [ 2, { 'words': true, 'nonwords': false }], | ||
'spaced-comment': [ 2, 'always' ], | ||
'wrap-regex': 0, | ||
'constructor-super': 0, | ||
'generator-star-spacing': [ 2, 'both' ], | ||
'no-this-before-super': 0, | ||
'no-var': 0, | ||
'object-shorthand': [ 2, 'never' ], | ||
'prefer-const': 0, | ||
@@ -216,0 +235,0 @@ 'max-depth': [ 0, 4 ], |
{ | ||
"name": "eslint-config-es", | ||
"version": "0.1.0", | ||
"version": "0.3.0", | ||
"description": "eslint-config-es contains strict ESLint configurations for ES5 and ES2015.", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
29870
901