Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 8, 2021
1 parent eaceb87 commit dc7df0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .eslintrc
Expand Up @@ -7,14 +7,11 @@
},
"parserOptions": {
"ecmaVersion": 5,
},
"globals": {
"Promise": false,
"allowReserved": false,
},
"rules": {
"array-bracket-spacing": "off",
"complexity": "off",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"func-style": "warn",
"indent": ["error", 4],
"no-magic-numbers": "off",
Expand All @@ -26,10 +23,9 @@
"no-negated-condition": "off",
"no-use-before-define": "warn",
"no-underscore-dangle": "warn",
"operator-linebreak": ["error", "before"],
"sort-keys": "warn",
},
"ignorePatterns": [ "syntax-error.*" ],
"ignorePatterns": ["syntax-error.*"],
"overrides": [
{
"files": ["*.mjs", "test/import/package_type/*.js"],
Expand Down Expand Up @@ -73,10 +69,11 @@
"max-params": "off",
"no-continue": "off",
"no-invalid-this": "off",
"no-multi-assign": "off",
"no-param-reassign": "warn",
"no-plusplus": "warn",
"no-multi-assign": "off",
"no-restricted-syntax": "off",
"operator-linebreak": ["error", "before"],
},
},
{
Expand Down Expand Up @@ -114,7 +111,6 @@
"max-lines-per-function": "off",
"no-plusplus": "off",
"no-throw-literal": "off",
"sort-keys": "off",
},
},
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -46,14 +46,14 @@
"through": "^2.3.8"
},
"devDependencies": {
"@ljharb/eslint-config": "^19.0.1",
"@ljharb/eslint-config": "^20.0.0",
"array.prototype.flatmap": "^1.2.5",
"aud": "^1.1.5",
"concat-stream": "^1.6.2",
"eclint": "^2.8.1",
"ecstatic": "^4.1.4",
"es-value-fixtures": "^1.2.1",
"eslint": "^8.2.0",
"eslint": "^8.4.1",
"falafel": "^2.2.4",
"js-yaml": "^3.14.0",
"safe-publish-latest": "^2.0.0",
Expand Down

0 comments on commit dc7df0f

Please sign in to comment.