chore: refactor a lot, add codegen and upgrade vue
This commit is contained in:
+17
-28
@@ -1,35 +1,24 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true
|
||||
node: true
|
||||
},
|
||||
parser: 'vue-eslint-parser',
|
||||
plugins: [
|
||||
'@typescript-eslint'
|
||||
],
|
||||
parserOptions: {
|
||||
"parser": "@typescript-eslint/parser",
|
||||
requireConfigFile: false
|
||||
},
|
||||
extends: [
|
||||
'airbnb-base',
|
||||
'plugin:vue/recommended',
|
||||
'eslint:recommended',
|
||||
'prettier',
|
||||
'plugin:prettier/recommended'
|
||||
'@nuxtjs',
|
||||
'@nuxtjs/eslint-config-typescript',
|
||||
'plugin:nuxt/recommended',
|
||||
'prettier'
|
||||
],
|
||||
globals: {
|
||||
Atomics: 'readonly',
|
||||
SharedArrayBuffer: 'readonly'
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
sourceType: 'module'
|
||||
},
|
||||
plugins: ['vue'],
|
||||
rules: {
|
||||
'import/extensions': 0,
|
||||
'import/no-unresolved': 0,
|
||||
'no-param-reassign': 0,
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
trailingComma: 'none',
|
||||
singleQuote: true,
|
||||
semi: false
|
||||
}
|
||||
]
|
||||
}
|
||||
ignorePatterns: ["graphql/generated/*"],
|
||||
// add your custom rules here
|
||||
rules: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user