Skip to content

Commit

Permalink
[eslint] clean up config a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 19, 2022
1 parent 98b9623 commit 67ad201
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .eslintrc
Expand Up @@ -14,15 +14,14 @@
"complexity": "off",
"func-style": ["error", "declaration"],
"no-magic-numbers": "off",
"max-lines": "warn",
"max-lines-per-function": "warn",
"max-lines-per-function": "off",
"max-statements-per-line": [2, { "max": 2 }],
"max-statements": "warn",
"multiline-comment-style": "off",
"no-negated-condition": "off",
"no-underscore-dangle": "warn",
"object-curly-newline": "off",
"sort-keys": "warn",
"sort-keys": "off",
},
"ignorePatterns": ["syntax-error.*"],
"overrides": [
Expand Down Expand Up @@ -124,6 +123,12 @@
"rules": {
"no-use-before-define": "warn",
},
}
},
{
"files": ["lib/test.js"],
"rules": {
"max-lines": "off",
},
},
],
}

0 comments on commit 67ad201

Please sign in to comment.