vue-eslint-standard
v9.12.0
Published
quickly start eslint in vue
Downloads
536
Readme
⚡vue-eslint-standard
quickly start eslint in vue.
install
npm i vue-eslint-standard -D
eslint.config.js
import { defineConfig } from 'vue-eslint-standard';
export default defineConfig();
.prettierrc.js
/**
* @type {import("prettier").Config}
*/
export default {
singleQuote: true,
trailingComma: 'all',
bracketSameLine: true,
endOfLine: 'auto',
};
custom configuration
import { defineConfig } from 'vue-eslint-standard';
import tseslint from 'typescript-eslint';
export default defineConfig({
extends: [...tseslint.configs.recommended, ...tseslint.configs.strict],
rules: {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
},
});