Skip to content

Commit

Permalink
[minor] update eslint and add new rules
Browse files Browse the repository at this point in the history
 - [Deps] update `eslint`
 - [Dev Deps] update `tape`
  • Loading branch information
ljharb committed Dec 20, 2019
1 parent 6e786bc commit 0280cc4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion .eslintrc
Expand Up @@ -49,6 +49,7 @@
"camelcase": [2, {
"properties": "always",
"ignoreDestructuring": false,
"ignoreImports": false,
"allow": []
}],
"capitalized-comments": [0],
Expand Down Expand Up @@ -90,6 +91,7 @@
"getter-return": [2, { "allowImplicit": true }],
"global-require": [2],
"global-strict": [0, "never"],
"grouped-accessor-pairs": [2, "getBeforeSet"],
"guard-for-in": [0],
"handle-callback-err": [0],
"id-blacklist": [0],
Expand Down Expand Up @@ -217,13 +219,15 @@
"no-console": [2],
"no-const-assign": [2],
"no-constant-condition": [2],
"no-constructor-return": [2],
"no-continue": [2],
"no-control-regex": [2],
"no-debugger": [2],
"no-delete-var": [2],
"no-div-regex": [0],
"no-dupe-args": [2],
"no-dupe-class-members": [2],
"no-dupe-else-if": [2],
"no-dupe-keys": [2],
"no-duplicate-case": [2],
"no-duplicate-imports": [2],
Expand Down Expand Up @@ -341,6 +345,7 @@
"no-script-url": [2],
"no-self-assign": [2, { "props": true }],
"no-self-compare": [0],
"no-setter-return": [2],
"no-sequences": [2],
"no-shadow": [2, { "builtinGlobals": false, "hoist": "functions", "allow": [] }],
"no-shadow-restricted-names": [2],
Expand All @@ -363,6 +368,7 @@
"allow": [],
"allowAfterThis": false,
"allowAfterSuper": false,
"allowAfterThisConstructor": false,
"enforceInMethodNames": true
}],
"no-unexpected-multiline": [2],
Expand All @@ -381,7 +387,9 @@
"no-use-before-define": [2],
"no-useless-call": [2],
"no-useless-catch": [2],
"no-useless-computed-key": [2],
"no-useless-computed-key": [2, {
"enforceForClassMembers": true
}],
"no-useless-concat": [2],
"no-useless-constructor": [2],
"no-useless-escape": [2],
Expand Down Expand Up @@ -432,6 +440,7 @@
}, {
"enforceForRenamedProperties": false
}],
"prefer-exponentiation-operator": [0],
"prefer-named-capture-group": [0],
"prefer-numeric-literals": [0],
"prefer-object-spread": [0],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -27,14 +27,14 @@
"dependencies": {},
"devDependencies": {
"eclint": "^2.8.1",
"eslint": "^6.6.0",
"eslint": "^6.7.2",
"eslint-find-rules": "^3.4.0",
"in-publish": "^2.0.0",
"safe-publish-latest": "^1.1.4",
"tape": "^4.11.0"
"tape": "^4.12.0"
},
"peerDependencies": {
"eslint": "^6.6.0"
"eslint": "^6.7.2"
},
"engines": {
"node": ">= 8"
Expand Down

0 comments on commit 0280cc4

Please sign in to comment.