Update ESLint to a newer version

This commit is contained in:
Zero 2023-01-26 17:59:23 -05:00 committed by Sam Therapy
parent 93ea1f0659
commit 53516bea57
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 18 additions and 6 deletions

View File

@ -2,7 +2,8 @@ module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
sourceType: 'module',
"ecmaVersion": 2020
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: [
@ -21,6 +22,17 @@ module.exports = {
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'vue/require-prop-types': 0
'vue/attribute-hyphenation': 'off',
'vue/attributes-order': 'off',
'vue/component-definition-name-casing': 'off',
'vue/component-tags-order': 'off',
'vue/html-closing-bracket-spacing': 'off',
'vue/html-indent': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-lone-template': 'off',
'vue/no-reserved-component-names': 'off',
'vue/no-v-text-v-html-on-component': 'off',
'vue/require-prop-types': 0,
'vue/v-slot-style': 'off'
}
}

View File

@ -52,7 +52,7 @@
"@vue/babel-preset-jsx": "^1.2.4",
"@vue/test-utils": "^1.0.0-beta.26",
"autoprefixer": "^6.4.0",
"babel-eslint": "^7.0.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-lodash": "^3.3.4",
"chai": "^3.5.0",
@ -63,15 +63,15 @@
"cross-spawn": "^4.0.2",
"css-loader": "^0.28.0",
"custom-event-polyfill": "^1.0.7",
"eslint": "^5.16.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^12.0.0",
"eslint-friendly-formatter": "^2.0.5",
"eslint-loader": "^2.1.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^7.0.0",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.2.2",
"eslint-plugin-vue": "^9.9.0",
"eventsource-polyfill": "^0.9.6",
"express": "^4.13.3",
"file-loader": "^3.0.1",