mirror of https://github.com/DJ2LS/FreeDATA.git
adjusted linting packages
parent
62ce93d11b
commit
d4ccda12f8
|
@ -0,0 +1,19 @@
|
|||
import pluginVue from 'eslint-plugin-vue'
|
||||
import globals from 'globals'
|
||||
|
||||
export default [
|
||||
...pluginVue.configs['flat/base'],
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
{
|
||||
ignores: ["**/*.config.js", "!**/eslint.config.js", "**/src/locales/**", "**/node_modules/**"],
|
||||
rules: {
|
||||
'vue/no-unused-vars': 'error'
|
||||
},
|
||||
languageOptions: {
|
||||
//sourceType: 'module',
|
||||
globals: {
|
||||
...globals.browser
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
|
@ -52,31 +52,16 @@
|
|||
"@babel/core": "^7.25.2",
|
||||
"@babel/eslint-parser": "^7.25.1",
|
||||
"@eslint/js": "^9.10.0",
|
||||
"@vue/cli-plugin-babel": "~5.0.8",
|
||||
"@vue/cli-plugin-eslint": "~5.0.8",
|
||||
"@vue/cli-service": "~5.0.8",
|
||||
"eslint": "^8.0.0",
|
||||
"eslint-plugin-vue": "^9.28.0",
|
||||
"eslint": "^9.0.0",
|
||||
"eslint-plugin-vue": "^10.0.0",
|
||||
"globals": "^16.0.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"plugin:vue/vue3-essential",
|
||||
"eslint:recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"parser": "@babel/eslint-parser"
|
||||
},
|
||||
"rules": {}
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not dead",
|
||||
"not ie 11"
|
||||
]
|
||||
],
|
||||
"type": "module"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue