mirror of
https://github.com/doocs/md.git
synced 2024-11-25 03:18:36 +08:00
26 lines
520 B
JavaScript
26 lines
520 B
JavaScript
|
module.exports = {
|
||
|
root: true,
|
||
|
env: {
|
||
|
node: true,
|
||
|
},
|
||
|
extends: [`plugin:vue/essential`, `eslint:recommended`, `@vue/prettier`],
|
||
|
parserOptions: {
|
||
|
parser: `babel-eslint`,
|
||
|
},
|
||
|
ignorePatterns: [`src/assets/scripts/renderers`],
|
||
|
rules: {
|
||
|
'prettier/prettier': [
|
||
|
`error`,
|
||
|
{
|
||
|
singleQuote: true,
|
||
|
semi: false,
|
||
|
},
|
||
|
],
|
||
|
semi: [`error`, `never`],
|
||
|
quotes: [`error`, `backtick`],
|
||
|
'no-unused-vars': `off`,
|
||
|
'no-console': `off`,
|
||
|
'no-debugger': `off`,
|
||
|
},
|
||
|
}
|