Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-klopov

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-klopov - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

414

eslintrc.json

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc