Skip to content

Commit

Permalink
Update eslint (#815)
Browse files Browse the repository at this point in the history
* Update eslint

* Revert new lint errors back to warnings

* changelog
  • Loading branch information
AndrewFerr authored Sep 11, 2023
1 parent 38c34b6 commit d2ae7df
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 157 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ module.exports = {
},
rules: {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"camelcase": ["error", { "properties": "never", "ignoreDestructuring": true }],
"no-console": "error"
},
Expand Down Expand Up @@ -48,6 +50,7 @@ module.exports = {
rules: {
"no-console": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": ["error"],
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": ["error"],
Expand Down
1 change: 1 addition & 0 deletions changelog.d/815.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update eslint to a version that supports Typescript 5.1.3.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@
"@types/node-emoji": "^1.8.1",
"@types/uuid": "^8.3.3",
"@types/xml2js": "^0.4.11",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@uiw/react-codemirror": "^4.12.3",
"chai": "^4.3.4",
"eslint": "^8.39.0",
"eslint": "^8.49.0",
"eslint-config-preact": "^1.3.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-mocha": "^10.1.0",
"mini.css": "^3.0.1",
"mocha": "^8.2.1",
"preact": "^10.5.15",
Expand Down
Loading

0 comments on commit d2ae7df

Please sign in to comment.