Skip to content

Commit

Permalink
feat: support eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Nov 15, 2024
1 parent 3647335 commit a5a5837
Show file tree
Hide file tree
Showing 24 changed files with 1,769 additions and 579 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.js

This file was deleted.

21 changes: 21 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const neostandard = require('neostandard')

module.exports = [
...neostandard(),
{
rules: {
'no-template-curly-in-string': 'off',

'@stylistic/quotes': ['error', 'single', {
allowTemplateLiterals: true,
}],
'@stylistic/comma-dangle': ['error', {
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'always-multiline',
functions: 'only-multiline',
}],
}
}
]
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"build": "rimraf lib && babel src --out-dir lib",
"test": "mocha tests --recursive --reporter dot",
"test:8": "ESLINT8=true mocha tests --recursive --reporter dot",
"test:coverage": "nyc mocha tests --recursive --reporter dot",
"test:ci": "nyc --reporter=lcov mocha tests --recursive --reporter dot",
"lint": "eslint src tests",
Expand All @@ -19,30 +20,29 @@
],
"homepage": "https://github.com/vuetifyjs/eslint-plugin-vuetify#readme",
"dependencies": {
"eslint-plugin-vue": "^9.6.0",
"requireindex": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@stylistic/eslint-plugin": "^2.10.1",
"conventional-changelog-cli": "^2.2.2",
"conventional-changelog-vuetify": "^1.1.0",
"conventional-github-releaser": "^3.1.5",
"eslint": "^8.26.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.3.0",
"eslint-plugin-promise": "^6.1.1",
"eslint": "^9.14.0",
"eslint8": "npm:[email protected]",
"husky": "^8.0.1",
"mocha": "^10.1.0",
"neostandard": "^0.11.8",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"vue": "^3.2.41",
"vuetify": "^3.0.0"
"vue": "^3.5.12",
"vue-eslint-parser": "^9.4.3",
"vuetify": "^3.7.4"
},
"peerDependencies": {
"eslint": "^8.0.0",
"eslint": "^8.0.0 || ^9.0.0",
"vuetify": "^3.0.0"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit a5a5837

Please sign in to comment.