eslint-config-klopov
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -16,3 +16,3 @@ { | ||
}, | ||
"ecmaVersion": 7, | ||
"ecmaVersion": 8, | ||
"sourceType": "module" | ||
@@ -23,3 +23,4 @@ }, | ||
"rules": { | ||
"accessor-pairs": 2, | ||
"accessor-pairs": "error", | ||
"array-bracket-newline": "off", | ||
"array-bracket-spacing": [ | ||
@@ -30,18 +31,13 @@ "error", | ||
"array-callback-return": "off", | ||
"array-element-newline": "off", | ||
"arrow-body-style": "error", | ||
"arrow-parens": "off", | ||
"arrow-spacing": [ | ||
2, | ||
{ | ||
"after": true, | ||
"before": true | ||
} | ||
"arrow-parens": [ | ||
"error", | ||
"always" | ||
], | ||
"arrow-spacing": "error", | ||
"block-scoped-var": "error", | ||
"block-spacing": [ | ||
2, | ||
"always" | ||
], | ||
"block-spacing": "error", | ||
"brace-style": [ | ||
2, | ||
"error", | ||
"1tbs", | ||
@@ -54,3 +50,3 @@ { | ||
"camelcase": [ | ||
2, | ||
"error", | ||
{ | ||
@@ -60,18 +56,7 @@ "properties": "never" | ||
], | ||
"capitalized-comments": "off", | ||
"class-methods-use-this": "off", | ||
"comma-dangle": [ | ||
2, | ||
"never" | ||
], | ||
"comma-spacing": [ | ||
2, | ||
{ | ||
"after": true, | ||
"before": false | ||
} | ||
], | ||
"comma-style": [ | ||
2, | ||
"last" | ||
], | ||
"comma-dangle": "error", | ||
"comma-spacing": "error", | ||
"comma-style": "error", | ||
"complexity": "error", | ||
@@ -81,5 +66,5 @@ "computed-property-spacing": "error", | ||
"consistent-this": "error", | ||
"constructor-super": 2, | ||
"constructor-super": "error", | ||
"curly": [ | ||
2, | ||
"error", | ||
"multi-line" | ||
@@ -93,11 +78,7 @@ ], | ||
"dot-notation": "error", | ||
"eol-last": 2, | ||
"eqeqeq": [ | ||
2, | ||
"allow-null" | ||
], | ||
"func-call-spacing": [ | ||
2, | ||
"never" | ||
], | ||
"eol-last": "error", | ||
"eqeqeq": "error", | ||
"for-direction": "error", | ||
"func-call-spacing": "error", | ||
"func-name-matching": "error", | ||
"func-names": "off", | ||
@@ -109,4 +90,4 @@ "func-style": "off", | ||
"handle-callback-err": [ | ||
2, | ||
"^(err|error)$" | ||
"error", | ||
"error" | ||
], | ||
@@ -116,25 +97,8 @@ "id-blacklist": "error", | ||
"id-match": "error", | ||
"indent": [ | ||
2, | ||
2, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"indent": "off", | ||
"indent-legacy": "off", | ||
"init-declarations": "off", | ||
"jsx-quotes": "error", | ||
"key-spacing": [ | ||
2, | ||
{ | ||
"afterColon": true, | ||
"beforeColon": false | ||
} | ||
], | ||
"keyword-spacing": [ | ||
2, | ||
{ | ||
"after": true, | ||
"before": true | ||
} | ||
], | ||
"key-spacing": "error", | ||
"keyword-spacing": "error", | ||
"line-comment-position": "off", | ||
@@ -144,3 +108,3 @@ "linebreak-style": "error", | ||
"lines-around-directive": "error", | ||
"max-depth": "error", | ||
"max-depth": "off", | ||
"max-len": "off", | ||
@@ -153,10 +117,4 @@ "max-lines": "off", | ||
"multiline-ternary": "off", | ||
"new-cap": [ | ||
2, | ||
{ | ||
"capIsNew": false, | ||
"newIsCap": true | ||
} | ||
], | ||
"new-parens": 2, | ||
"new-cap": "error", | ||
"new-parens": "error", | ||
"newline-after-var": "off", | ||
@@ -166,65 +124,56 @@ "newline-before-return": "off", | ||
"no-alert": "error", | ||
"no-array-constructor": 2, | ||
"no-array-constructor": "error", | ||
"no-await-in-loop": "off", | ||
"no-bitwise": "off", | ||
"no-caller": 2, | ||
"no-buffer-constructor": "error", | ||
"no-caller": "error", | ||
"no-case-declarations": "error", | ||
"no-catch-shadow": "error", | ||
"no-class-assign": 2, | ||
"no-cond-assign": 2, | ||
"no-class-assign": "error", | ||
"no-compare-neg-zero": "error", | ||
"no-cond-assign": "error", | ||
"no-confusing-arrow": "error", | ||
"no-console": "off", | ||
"no-const-assign": 2, | ||
"no-const-assign": "error", | ||
"no-constant-condition": "off", | ||
"no-continue": "off", | ||
"no-control-regex": 2, | ||
"no-debugger": 2, | ||
"no-delete-var": 2, | ||
"no-control-regex": "error", | ||
"no-debugger": "error", | ||
"no-delete-var": "error", | ||
"no-div-regex": "error", | ||
"no-dupe-args": 2, | ||
"no-dupe-class-members": 2, | ||
"no-dupe-keys": 2, | ||
"no-duplicate-case": 2, | ||
"no-duplicate-imports": 2, | ||
"no-dupe-args": "error", | ||
"no-dupe-class-members": "error", | ||
"no-dupe-keys": "error", | ||
"no-duplicate-case": "error", | ||
"no-duplicate-imports": "error", | ||
"no-else-return": "off", | ||
"no-empty": "error", | ||
"no-empty-character-class": 2, | ||
"no-empty": "off", | ||
"no-empty-character-class": "error", | ||
"no-empty-function": "off", | ||
"no-empty-pattern": 2, | ||
"no-empty-pattern": "error", | ||
"no-eq-null": "error", | ||
"no-eval": 2, | ||
"no-ex-assign": 2, | ||
"no-extend-native": 2, | ||
"no-extra-bind": 2, | ||
"no-extra-boolean-cast": 2, | ||
"no-eval": "error", | ||
"no-ex-assign": "error", | ||
"no-extend-native": "error", | ||
"no-extra-bind": "error", | ||
"no-extra-boolean-cast": "error", | ||
"no-extra-label": "error", | ||
"no-extra-parens": [ | ||
2, | ||
"functions" | ||
], | ||
"no-extra-parens": "off", | ||
"no-extra-semi": "error", | ||
"no-fallthrough": 2, | ||
"no-floating-decimal": 2, | ||
"no-func-assign": 2, | ||
"no-global-assign": 2, | ||
"no-fallthrough": "error", | ||
"no-floating-decimal": "error", | ||
"no-func-assign": "error", | ||
"no-global-assign": "error", | ||
"no-implicit-coercion": "error", | ||
"no-implicit-globals": "error", | ||
"no-implied-eval": 2, | ||
"no-implied-eval": "error", | ||
"no-inline-comments": "off", | ||
"no-inner-declarations": [ | ||
2, | ||
"functions" | ||
], | ||
"no-invalid-regexp": 2, | ||
"no-inner-declarations": "error", | ||
"no-invalid-regexp": "error", | ||
"no-invalid-this": "error", | ||
"no-irregular-whitespace": 2, | ||
"no-iterator": 2, | ||
"no-label-var": 2, | ||
"no-labels": [ | ||
2, | ||
{ | ||
"allowLoop": false, | ||
"allowSwitch": false | ||
} | ||
], | ||
"no-lone-blocks": 2, | ||
"no-irregular-whitespace": "error", | ||
"no-iterator": "error", | ||
"no-label-var": "error", | ||
"no-labels": "error", | ||
"no-lone-blocks": "error", | ||
"no-lonely-if": "off", | ||
@@ -235,33 +184,34 @@ "no-loop-func": "error", | ||
"no-mixed-requires": "error", | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-multi-spaces": 2, | ||
"no-multi-str": 2, | ||
"no-multiple-empty-lines": [ | ||
2, | ||
"no-mixed-spaces-and-tabs": "error", | ||
"no-multi-assign": "off", | ||
"no-multi-spaces": [ | ||
"error", | ||
{ | ||
"max": 1 | ||
"ignoreEOLComments": true | ||
} | ||
], | ||
"no-native-reassign": 2, | ||
"no-multi-str": "error", | ||
"no-multiple-empty-lines": "error", | ||
"no-native-reassign": "error", | ||
"no-negated-condition": "off", | ||
"no-negated-in-lhs": 2, | ||
"no-negated-in-lhs": "error", | ||
"no-nested-ternary": "error", | ||
"no-new": 2, | ||
"no-new-func": 2, | ||
"no-new-object": 2, | ||
"no-new-require": 2, | ||
"no-new-symbol": 2, | ||
"no-new-wrappers": 2, | ||
"no-obj-calls": 2, | ||
"no-octal": 2, | ||
"no-octal-escape": 2, | ||
"no-new": "error", | ||
"no-new-func": "error", | ||
"no-new-object": "error", | ||
"no-new-require": "error", | ||
"no-new-symbol": "error", | ||
"no-new-wrappers": "error", | ||
"no-obj-calls": "error", | ||
"no-octal": "error", | ||
"no-octal-escape": "error", | ||
"no-param-reassign": "off", | ||
"no-path-concat": 2, | ||
"no-path-concat": "error", | ||
"no-plusplus": "error", | ||
"no-process-env": "off", | ||
"no-process-exit": "off", | ||
"no-proto": 2, | ||
"no-proto": "error", | ||
"no-prototype-builtins": "error", | ||
"no-redeclare": 2, | ||
"no-regex-spaces": 2, | ||
"no-redeclare": "error", | ||
"no-regex-spaces": "error", | ||
"no-restricted-globals": "error", | ||
@@ -272,23 +222,21 @@ "no-restricted-imports": "error", | ||
"no-restricted-syntax": "error", | ||
"no-return-assign": [ | ||
2, | ||
"except-parens" | ||
], | ||
"no-return-assign": "error", | ||
"no-return-await": "off", | ||
"no-script-url": "error", | ||
"no-self-assign": 2, | ||
"no-self-compare": 2, | ||
"no-sequences": 2, | ||
"no-self-assign": "error", | ||
"no-self-compare": "error", | ||
"no-sequences": "error", | ||
"no-shadow": "error", | ||
"no-shadow-restricted-names": 2, | ||
"no-shadow-restricted-names": "error", | ||
"no-spaced-func": "error", | ||
"no-sparse-arrays": 2, | ||
"no-sparse-arrays": "error", | ||
"no-sync": "off", | ||
"no-tabs": 2, | ||
"no-template-curly-in-string": 2, | ||
"no-tabs": "error", | ||
"no-template-curly-in-string": "error", | ||
"no-ternary": "off", | ||
"no-this-before-super": 2, | ||
"no-throw-literal": 2, | ||
"no-trailing-spaces": 2, | ||
"no-undef": 2, | ||
"no-undef-init": 2, | ||
"no-this-before-super": "error", | ||
"no-throw-literal": "error", | ||
"no-trailing-spaces": "error", | ||
"no-undef": "error", | ||
"no-undef-init": "error", | ||
"no-undefined": "off", | ||
@@ -301,34 +249,25 @@ "no-underscore-dangle": [ | ||
], | ||
"no-unexpected-multiline": 2, | ||
"no-unmodified-loop-condition": 2, | ||
"no-unneeded-ternary": [ | ||
2, | ||
{ | ||
"defaultAssignment": false | ||
} | ||
], | ||
"no-unreachable": 2, | ||
"no-unsafe-finally": 2, | ||
"no-unsafe-negation": 2, | ||
"no-unexpected-multiline": "error", | ||
"no-unmodified-loop-condition": "error", | ||
"no-unneeded-ternary": "error", | ||
"no-unreachable": "error", | ||
"no-unsafe-finally": "error", | ||
"no-unsafe-negation": "error", | ||
"no-unused-expressions": "error", | ||
"no-unused-labels": "error", | ||
"no-unused-vars": [ | ||
2, | ||
{ | ||
"args": "none", | ||
"vars": "all" | ||
} | ||
], | ||
"no-unused-vars": "error", | ||
"no-use-before-define": "off", | ||
"no-useless-call": 2, | ||
"no-useless-computed-key": 2, | ||
"no-useless-call": "error", | ||
"no-useless-computed-key": "error", | ||
"no-useless-concat": "error", | ||
"no-useless-constructor": 2, | ||
"no-useless-escape": 2, | ||
"no-useless-rename": 2, | ||
"no-useless-constructor": "error", | ||
"no-useless-escape": "error", | ||
"no-useless-rename": "error", | ||
"no-useless-return": "error", | ||
"no-var": "error", | ||
"no-void": "error", | ||
"no-warning-comments": "off", | ||
"no-whitespace-before-property": 2, | ||
"no-with": 2, | ||
"no-whitespace-before-property": "error", | ||
"no-with": "error", | ||
"nonblock-statement-body-position": "error", | ||
"object-curly-newline": "off", | ||
@@ -345,27 +284,16 @@ "object-curly-spacing": [ | ||
"object-shorthand": "off", | ||
"one-var": [ | ||
2, | ||
{ | ||
"initialized": "never" | ||
} | ||
], | ||
"one-var": "off", | ||
"one-var-declaration-per-line": "off", | ||
"operator-assignment": "error", | ||
"operator-linebreak": [ | ||
2, | ||
"after", | ||
{ | ||
"overrides": { | ||
":": "before", | ||
"?": "before" | ||
} | ||
} | ||
], | ||
"operator-linebreak": "off", | ||
"padded-blocks": [ | ||
2, | ||
"error", | ||
"never" | ||
], | ||
"padding-line-between-statements": "error", | ||
"prefer-arrow-callback": "off", | ||
"prefer-const": "off", | ||
"prefer-const": "error", | ||
"prefer-destructuring": "off", | ||
"prefer-numeric-literals": "error", | ||
"prefer-promise-reject-errors": "error", | ||
"prefer-reflect": "off", | ||
@@ -381,8 +309,6 @@ "prefer-rest-params": "error", | ||
"radix": "error", | ||
"require-await": "error", | ||
"require-jsdoc": "off", | ||
"require-yield": "error", | ||
"rest-spread-spacing": [ | ||
2, | ||
"never" | ||
], | ||
"rest-spread-spacing": "error", | ||
"semi": [ | ||
@@ -392,16 +318,8 @@ 2, | ||
], | ||
"semi-spacing": [ | ||
2, | ||
{ | ||
"after": true, | ||
"before": false | ||
} | ||
], | ||
"semi-spacing": "error", | ||
"semi-style": "error", | ||
"sort-imports": "error", | ||
"sort-keys": "off", | ||
"sort-vars": "off", | ||
"space-before-blocks": [ | ||
2, | ||
"always" | ||
], | ||
"space-before-blocks": "error", | ||
"space-before-function-paren": [ | ||
@@ -411,66 +329,24 @@ "error", | ||
], | ||
"space-in-parens": [ | ||
2, | ||
"never" | ||
], | ||
"space-infix-ops": 2, | ||
"space-unary-ops": [ | ||
2, | ||
{ | ||
"nonwords": false, | ||
"words": true | ||
} | ||
], | ||
"spaced-comment": [ | ||
2, | ||
"always", | ||
{ | ||
"block": { | ||
"balanced": true, | ||
"exceptions": [ | ||
"*" | ||
], | ||
"markers": [ | ||
"*package", | ||
"!", | ||
"," | ||
] | ||
}, | ||
"line": { | ||
"markers": [ | ||
"*package", | ||
"!", | ||
"," | ||
] | ||
} | ||
} | ||
], | ||
"space-in-parens": "error", | ||
"space-infix-ops": "error", | ||
"space-unary-ops": "error", | ||
"spaced-comment": "error", | ||
"strict": "error", | ||
"switch-colon-spacing": "error", | ||
"symbol-description": "error", | ||
"template-curly-spacing": [ | ||
2, | ||
"never" | ||
], | ||
"unicode-bom": [ | ||
2, | ||
"never" | ||
], | ||
"use-isnan": 2, | ||
"template-curly-spacing": "error", | ||
"template-tag-spacing": "error", | ||
"unicode-bom": "error", | ||
"use-isnan": "error", | ||
"valid-jsdoc": "error", | ||
"valid-typeof": 2, | ||
"valid-typeof": "error", | ||
"vars-on-top": "error", | ||
"wrap-iife": [ | ||
2, | ||
"any" | ||
"inside" | ||
], | ||
"wrap-regex": "off", | ||
"yield-star-spacing": [ | ||
2, | ||
"both" | ||
], | ||
"yoda": [ | ||
2, | ||
"never" | ||
] | ||
"yield-star-spacing": "error", | ||
"yoda": "error" | ||
} | ||
} |
{ | ||
"name": "eslint-config-klopov", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"main": "index.js", | ||
@@ -9,6 +9,10 @@ "bin": { | ||
"dependencies": { | ||
"eslint": "3.6.1" | ||
"eslint": "4.0.0" | ||
}, | ||
"devDependencies": { | ||
"eslint-config-standard": "6.1.0", | ||
"eslint-config-standard": "10.2.1", | ||
"eslint-plugin-import": "2.3.0", | ||
"eslint-plugin-node": "5.0.0", | ||
"eslint-plugin-promise": "3.5.0", | ||
"eslint-plugin-standard": "3.0.1", | ||
"json-stable-stringify": "1.0.1" | ||
@@ -15,0 +19,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9949
6
336
1
+ Addedajv@6.12.6(transitive)
+ Addedajv-keywords@3.5.2(transitive)
+ Addedansi-escapes@3.2.0(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedbabel-code-frame@6.26.0(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedchardet@0.4.2(transitive)
+ Addedcli-cursor@2.1.0(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addeddoctrine@2.1.0(transitive)
+ Addedeslint@4.0.0(transitive)
+ Addedeslint-scope@3.7.3(transitive)
+ Addedesquery@1.6.0(transitive)
+ Addedexternal-editor@2.2.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfigures@2.0.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinquirer@3.3.0(transitive)
+ Addedjs-tokens@3.0.2(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedmimic-fn@1.2.0(transitive)
+ Addedmute-stream@0.0.7(transitive)
+ Addedonetime@2.0.1(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpluralize@4.0.0(transitive)
+ Addedprogress@2.0.3(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedrestore-cursor@2.0.0(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrx-lite@4.0.8(transitive)
+ Addedrx-lite-aggregates@4.0.8(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedslice-ansi@1.0.0(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedtable@4.0.3(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addeduri-js@4.4.1(transitive)
- Removedajv@4.11.8(transitive)
- Removedajv-keywords@1.5.1(transitive)
- Removedansi-escapes@1.4.0(transitive)
- Removedcli-cursor@1.0.2(transitive)
- Removedco@4.6.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedd@1.0.2(transitive)
- Removeddoctrine@1.5.0(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-map@0.1.5(transitive)
- Removedes6-set@0.1.6(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedes6-weak-map@2.0.3(transitive)
- Removedescope@3.6.0(transitive)
- Removedeslint@3.6.1(transitive)
- Removedesniff@2.0.1(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedexit-hook@1.1.1(transitive)
- Removedext@1.7.0(transitive)
- Removedfigures@1.7.0(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedinquirer@0.12.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedmute-stream@0.0.5(transitive)
- Removednext-tick@1.1.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedonetime@1.1.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedpluralize@1.2.1(transitive)
- Removedprogress@1.1.8(transitive)
- Removedreadline2@1.0.1(transitive)
- Removedrestore-cursor@1.0.1(transitive)
- Removedrun-async@0.1.0(transitive)
- Removedrx-lite@3.1.2(transitive)
- Removedshelljs@0.6.1(transitive)
- Removedslice-ansi@0.0.4(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedstrip-json-comments@1.0.4(transitive)
- Removedtable@3.8.3(transitive)
- Removedtype@2.7.3(transitive)
- Removeduser-home@2.0.0(transitive)
Updatedeslint@4.0.0