eslint-plugin-ivs
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -6,36 +6,36 @@ 'use strict'; | ||
config.rules['arrow-body-style'] = ['error']; | ||
config.rules['arrow-parens'] = ['error']; | ||
config.rules['arrow-spacing'] = ['error']; | ||
config.rules['block-scoped-var'] = ['error']; | ||
config.rules['block-spacing'] = ['error']; | ||
config.rules['comma-dangle'] = ['error']; | ||
config.rules['computed-property-spacing'] = ['error']; | ||
config.rules['func-call-spacing'] = ['error']; | ||
config.rules['generator-star-spacing'] = ['error', {after : true, before : true}]; | ||
config.rules['implicit-arrow-linebreak'] = ['error']; | ||
config.rules['lines-between-class-members'] = ['error']; | ||
config.rules['no-alert'] = ['error']; | ||
config.rules['no-empty-function'] = ['error']; | ||
config.rules['no-eq-null'] = ['error']; | ||
config.rules['no-extend-native'] = ['error']; | ||
config.rules['no-extra-bind'] = ['error']; | ||
config.rules['no-mixed-requires'] = ['error', {grouping : true}]; | ||
config.rules['no-multiple-empty-lines'] = ['error', {max : 1, maxBOF : 1, maxEOF : 1}]; | ||
config.rules['no-multi-assign'] = ['error']; | ||
config.rules['no-multi-spaces'] = ['error', {exceptions : {AssignmentExpression : true, ObjectExpression : true, VariableDeclarator : true, ImportDeclaration : true}}]; | ||
config.rules['no-shadow'] = ['error']; | ||
config.rules['no-tabs'] = ['error']; | ||
config.rules['no-template-curly-in-string'] = ['error']; | ||
config.rules['no-unused-expressions'] = ['error']; | ||
config.rules['no-use-before-define'] = ['error']; | ||
config.rules['no-useless-concat'] = ['error']; | ||
config.rules['no-whitespace-before-property'] = ['error']; | ||
config.rules['nonblock-statement-body-position'] = ['error', 'below']; | ||
config.rules['one-var'] = ['error', 'never']; | ||
config.rules['padded-blocks'] = ['error', {blocks : 'never', classes : 'always', switches : 'never'}]; | ||
config.rules['prefer-arrow-callback'] = ['error']; | ||
config.rules['semi-style'] = ['error']; | ||
config.rules['switch-colon-spacing'] = ['error']; | ||
config.rules['arrow-body-style'] = ['warn']; | ||
config.rules['arrow-parens'] = ['warn']; | ||
config.rules['arrow-spacing'] = ['warn']; | ||
config.rules['block-scoped-var'] = ['warn']; | ||
config.rules['block-spacing'] = ['warn']; | ||
config.rules['comma-dangle'] = ['warn']; | ||
config.rules['computed-property-spacing'] = ['warn']; | ||
config.rules['func-call-spacing'] = ['warn']; | ||
config.rules['generator-star-spacing'] = ['warn', {after : true, before : true}]; | ||
config.rules['implicit-arrow-linebreak'] = ['warn']; | ||
config.rules['lines-between-class-members'] = ['warn']; | ||
config.rules['no-alert'] = ['warn']; | ||
config.rules['no-empty-function'] = ['warn']; | ||
config.rules['no-eq-null'] = ['warn']; | ||
config.rules['no-extend-native'] = ['warn']; | ||
config.rules['no-extra-bind'] = ['warn']; | ||
config.rules['no-mixed-requires'] = ['warn', {grouping : true}]; | ||
config.rules['no-multiple-empty-lines'] = ['warn', {max : 1, maxBOF : 1, maxEOF : 1}]; | ||
config.rules['no-multi-assign'] = ['warn']; | ||
config.rules['no-multi-spaces'] = ['warn', {exceptions : {AssignmentExpression : true, ObjectExpression : true, VariableDeclarator : true, ImportDeclaration : true}}]; | ||
config.rules['no-shadow'] = ['warn']; | ||
config.rules['no-tabs'] = ['warn']; | ||
config.rules['no-template-curly-in-string'] = ['warn']; | ||
config.rules['no-unused-expressions'] = ['warn']; | ||
config.rules['no-use-before-define'] = ['warn']; | ||
config.rules['no-useless-concat'] = ['warn']; | ||
config.rules['no-whitespace-before-property'] = ['warn']; | ||
config.rules['nonblock-statement-body-position'] = ['warn', 'below']; | ||
config.rules['one-var'] = ['warn', 'never']; | ||
config.rules['padded-blocks'] = ['warn', {blocks : 'never', classes : 'always', switches : 'never'}]; | ||
config.rules['prefer-arrow-callback'] = ['warn']; | ||
config.rules['semi-style'] = ['warn']; | ||
config.rules['switch-colon-spacing'] = ['warn']; | ||
module.exports = config; |
@@ -6,13 +6,13 @@ 'use strict'; | ||
config.rules['default-case'] = ['error']; | ||
config.rules['getter-return'] = ['error']; | ||
config.rules['max-nested-callbacks'] = ['error', 5]; | ||
config.rules['no-console'] = ['error']; | ||
config.rules['no-loop-func'] = ['error']; | ||
config.rules['no-multi-str'] = ['error']; | ||
config.rules['no-unmodified-loop-condition'] = ['error']; | ||
config.rules['no-useless-return'] = ['error']; | ||
config.rules['object-curly-spacing'] = ['error']; | ||
config.rules['default-case'] = ['warn']; | ||
config.rules['getter-return'] = ['warn']; | ||
config.rules['max-nested-callbacks'] = ['warn', 5]; | ||
config.rules['no-console'] = ['warn']; | ||
config.rules['no-loop-func'] = ['warn']; | ||
config.rules['no-multi-str'] = ['warn']; | ||
config.rules['no-unmodified-loop-condition'] = ['warn']; | ||
config.rules['no-useless-return'] = ['warn']; | ||
config.rules['object-curly-spacing'] = ['warn']; | ||
config.rules['padding-line-between-statements'] = [ | ||
'error', | ||
'warn', | ||
{blankLine : 'always', next : 'return', prev : '*'}, | ||
@@ -24,6 +24,6 @@ {blankLine : 'always', next : '*', prev : ['const', 'let', 'var']}, | ||
]; | ||
config.rules['prefer-template'] = ['error']; | ||
config.rules['quotes'] = ['error', 'single', {allowTemplateLiterals : true}]; | ||
config.rules['quote-props'] = ['error', 'consistent']; | ||
config.rules['prefer-template'] = ['warn']; | ||
config.rules['quotes'] = ['warn', 'single', {allowTemplateLiterals : true}]; | ||
config.rules['quote-props'] = ['warn', 'consistent']; | ||
module.exports = config; |
@@ -39,32 +39,32 @@ 'use strict'; | ||
rules : { | ||
'array-bracket-spacing' : ['error', 'never', {}], | ||
'array-bracket-spacing' : ['warn', 'never', {}], | ||
'brace-style' : 0, | ||
'comma-spacing' : ['error'], | ||
'comma-style' : ['error', 'last'], | ||
'curly' : ['error', 'multi-or-nest', 'consistent'], | ||
'eol-last' : ['error'], | ||
'indent' : ['error', 2, {MemberExpression : 1, SwitchCase : 1}], | ||
'key-spacing' : ['error', {afterColon : true, beforeColon : true, mode : 'minimum'}], | ||
'keyword-spacing' : ['error', {after : false, overrides : spacing_overrides}], | ||
'linebreak-style' : ['error', 'unix'], | ||
'new-cap' : ['error', {capIsNew : false, newIsCap : true}], | ||
'comma-spacing' : ['warn'], | ||
'comma-style' : ['warn', 'last'], | ||
'curly' : ['warn', 'multi-or-nest', 'consistent'], | ||
'eol-last' : ['warn'], | ||
'indent' : ['warn', 2, {MemberExpression : 1, SwitchCase : 1}], | ||
'key-spacing' : ['warn', {afterColon : true, beforeColon : true, mode : 'minimum'}], | ||
'keyword-spacing' : ['warn', {after : false, overrides : spacing_overrides}], | ||
'linebreak-style' : ['warn', 'unix'], | ||
'new-cap' : ['warn', {capIsNew : false, newIsCap : true}], | ||
'no-console' : 0, | ||
'no-constant-condition' : ['error', {checkLoops : false}], | ||
'no-constant-condition' : ['warn', {checkLoops : false}], | ||
'no-control-regex' : [0], | ||
'no-empty' : ['error', {allowEmptyCatch : true}], | ||
'no-extra-semi' : ['error'], | ||
'no-mixed-spaces-and-tabs' : ['error'], | ||
'no-trailing-spaces' : ['error'], | ||
'no-with' : ['error'], | ||
'no-empty' : ['warn', {allowEmptyCatch : true}], | ||
'no-extra-semi' : ['warn'], | ||
'no-mixed-spaces-and-tabs' : ['warn'], | ||
'no-trailing-spaces' : ['warn'], | ||
'no-with' : ['warn'], | ||
'quotes' : 0, | ||
'semi' : ['error', 'always'], | ||
'semi-spacing' : ['error'], | ||
'space-before-blocks' : ['error', 'always'], | ||
'space-before-function-paren' : ['error', {anonymous : 'ignore', named : 'never'}], | ||
'space-in-parens' : ['error', 'never'], | ||
'space-infix-ops' : ['error'], | ||
'space-unary-ops' : ['error', {nonwords : false, words : true}], | ||
'template-curly-spacing' : ['error', 'never'], | ||
'wrap-iife' : ['error'], | ||
'yoda' : ['error', 'never'] | ||
'semi' : ['warn', 'always'], | ||
'semi-spacing' : ['warn'], | ||
'space-before-blocks' : ['warn', 'always'], | ||
'space-before-function-paren' : ['warn', {anonymous : 'ignore', named : 'never'}], | ||
'space-in-parens' : ['warn', 'never'], | ||
'space-infix-ops' : ['warn'], | ||
'space-unary-ops' : ['warn', {nonwords : false, words : true}], | ||
'template-curly-spacing' : ['warn', 'never'], | ||
'wrap-iife' : ['warn'], | ||
'yoda' : ['warn', 'never'] | ||
} | ||
@@ -71,0 +71,0 @@ }; |
{ | ||
"name": "eslint-plugin-ivs", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"description": "IVS Eslint plugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8623