21 lines
491 B
JavaScript
21 lines
491 B
JavaScript
|
module.exports = {
|
||
|
root: true,
|
||
|
env: {
|
||
|
browser: true,
|
||
|
node: true,
|
||
|
es2020: true
|
||
|
},
|
||
|
parserOptions: {
|
||
|
parser: 'babel-eslint'
|
||
|
},
|
||
|
extends: ['@nuxtjs', 'plugin:nuxt/recommended', 'plugin:prettier/recommended', 'prettier', 'prettier/vue'],
|
||
|
plugins: ['prettier'],
|
||
|
// add your custom rules here
|
||
|
rules: {
|
||
|
'prettier/prettier': ['error', { printWidth: 110 }],
|
||
|
'no-async-promise-executor': 'off',
|
||
|
'vue/comment-directive': 'off',
|
||
|
'no-console': 'off'
|
||
|
}
|
||
|
}
|