1234567891011121314151617181920212223242526272829303132333435363738 |
- // https://eslint.org/docs/user-guide/configuring
- module.exports = {
- root: true,
- env: {
- node: true,
- },
- extends: ['plugin:vue/essential', '@vue/prettier'],
- plugins: ['vue'],
- rules: {
- 'max-len': [
- 'warn',
- {
- code: 250,
- },
- ],
- 'no-unused-vars': 'off',
- 'no-console': 'off',
- 'prettier/prettier': [
- 'warn',
- {
- singleQuote: true,
- trailingComma: 'es5',
- bracketSpacing: true,
- jsxBracketSameLine: true,
- printWidth: 160,
- },
- ],
- 'vue/no-v-for-template-key': 'off',
- 'vue/no-template-key': 'off',
- 'vue/no-v-model-argument': 'off',
- 'vue/no-mutating-props': 'off',
- 'vue/no-unused-vars': 'off',
- },
- parserOptions: {
- parser: 'babel-eslint',
- },
- };
|