Skip to content

Commit

Permalink
feat: added rule for 8.5.0~8.14.0 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
chchoing authored May 4, 2022
1 parent d92cf2d commit ede987d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "eslint-config-tui",
"version": "5.0.0",
"version": "5.1.0",
"description": "ESLint sharable config for TUI components",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"peerDependencies": {
"eslint": "^8.4.0"
"eslint": "^8.14.0"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions rules/possible.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
"no-compare-neg-zero": 2,
"no-cond-assign": [2, "always"],
"no-const-assign": 2,
"no-constant-binary-expression": 2,
"no-constant-condition": 2,
"no-constructor-return": 2,
"no-control-regex": 2,
Expand Down
3 changes: 2 additions & 1 deletion rules/suggestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports = {
"no-return-await": 2,
"no-script-url": 2,
"no-sequences": [2, { allowInParentheses: false }],
"no-shadow": 2,
"no-shadow": [2, { ignoreOnInitialization: false }],
"no-shadow-restricted-names": 2,
"no-ternary": 0,
"no-throw-literal": 2,
Expand Down Expand Up @@ -120,6 +120,7 @@ module.exports = {
],
"prefer-exponentiation-operator": 2,
"prefer-numeric-literals": 2,
"prefer-object-spread": 0,
"prefer-promise-reject-errors": 0,
"prefer-regex-literals": 2,
"prefer-rest-params": 2,
Expand Down

0 comments on commit ede987d

Please sign in to comment.