Table of Content
extends: [
'@nuxtjs',
'eslint:recommended',
'plugin:nuxt/recommended',
'plugin:prettier/recommended',
'prettier',
'prettier/vue',
],
plugins: ['vue', 'prettier'],
rules: {
'prettier/prettier': [
'error',
{
singleQuote: true,
trailingComma: 'es5',
semi: false,
},
],
'import/extensions': [
'error',
'always',
{
js: 'never',
vue: 'never',
mjs: 'never',
},
],
'no-extra-semi': 'off',
'no-console': 'off',
'vue/no-v-html': 'off',
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
},
Today I Learned