You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
471 B
24 lines
471 B
5 years ago
|
module.exports = {
|
||
|
root: true,
|
||
|
env: {
|
||
|
node: true,
|
||
|
},
|
||
|
extends: ['plugin:vue/essential', '@vue/prettier'],
|
||
|
rules: {
|
||
|
quotes: [
|
||
|
'warn',
|
||
|
'single',
|
||
|
{
|
||
|
avoidEscape: true,
|
||
|
allowTemplateLiterals: true,
|
||
|
},
|
||
|
],
|
||
|
'comma-dangle': ['warn', 'always-multiline'],
|
||
|
'no-console': 'off',
|
||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||
|
},
|
||
|
parserOptions: {
|
||
|
parser: 'babel-eslint',
|
||
|
},
|
||
|
};
|