Skip to content

Commit

Permalink
migrate to ESLint v9
Browse files Browse the repository at this point in the history
  • Loading branch information
fire332 committed Apr 6, 2024
1 parent b195d37 commit 04d170a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export default [
'error',
{ checkForEach: true, allowVoid: true }
],
'no-constant-binary-expression': 'error', // default in 'eslint:recommended' since v9
'no-constructor-return': 'error',
'no-empty-static-block': 'error', // default in 'eslint:recommended' since v9
'no-unmodified-loop-condition': 'error'
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"manifest": "node tools/gen-manifest.cjs youtube.leanback.v4.manifest.json",
"version": "node tools/sync-version.cjs && git add assets/appinfo.json",
"prepare": "husky",
"lint": "eslint .",
"lint": "eslint",
"type-check": "tsc -b",
"prettier-check": "prettier --ignore-path .prettierignore --check ."
},
Expand Down

0 comments on commit 04d170a

Please sign in to comment.