Skip to content

Commit

Permalink
Remove mocha plugin, update typescript-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Jan 30, 2024
1 parent 86a9337 commit 8db6995
Show file tree
Hide file tree
Showing 4 changed files with 1,936 additions and 1,639 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-rocks-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chialab/eslint-config": minor
---

Remove `mocha` plugin, update typescript-eslint.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,16 @@ module.exports = {
'es2020': true,
'es2021': true,
'shared-node-browser': true,
'mocha': true,
},
extends: [
'eslint:recommended',
'plugin:jsx-a11y/recommended',
'plugin:lit-a11y/recommended',
'plugin:mocha/recommended',
],
plugins: [
'import',
'jsx-a11y',
'lit-a11y',
'mocha',
],
parser: '@babel/eslint-parser',
parserOptions: {
Expand Down Expand Up @@ -109,7 +106,6 @@ module.exports = {
ignoreNonDOM: true
}],
'lit-a11y/img-redundant-alt': 1,
'mocha/no-mocha-arrows': 0,
},
settings: {
'import/extensions': [
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
"@babel/eslint-parser": "^7.12.13",
"@babel/plugin-syntax-jsx": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint-import-resolver-typescript": "^3.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-lit-a11y": "^2.0.0",
"eslint-plugin-mocha": "^10.0.0"
"eslint-plugin-lit-a11y": "^4.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
"typescript": "^4.4.3"
"eslint": "^8.0.0",
"typescript": "^5.0.0"
}
}
Loading

0 comments on commit 8db6995

Please sign in to comment.