first
This commit is contained in:
33
inspond-nuxt-safekiso/.eslintrc.js
Normal file
33
inspond-nuxt-safekiso/.eslintrc.js
Normal file
@@ -0,0 +1,33 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: 'vue-eslint-parser',
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser',
|
||||
},
|
||||
extends: [
|
||||
// "plugin:vue/strongly-recommended",
|
||||
// 'eslint:recommended',
|
||||
'plugin:vue/vue3-recommended',
|
||||
'@vue/typescript/recommended',
|
||||
'prettier',
|
||||
],
|
||||
plugins: ['@typescript-eslint', 'prettier'],
|
||||
rules: {
|
||||
'prettier/prettier': ['error', { endOfLine: 'auto' }],
|
||||
|
||||
// not needed for vue 3
|
||||
'vue/no-multiple-template-root': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true,
|
||||
node: true,
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['layouts/default.vue', 'error.vue', 'pages/index.vue'],
|
||||
rules: { 'vue/multi-word-component-names': 'off' },
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user