feat: Add ESLint and Prettier configuration files with necessary scripts in package.json
This commit is contained in:
9
eslint.config.mjs
Normal file
9
eslint.config.mjs
Normal file
@@ -0,0 +1,9 @@
|
||||
// Run `nuxt prepare` once before linting so .nuxt/eslint.config.mjs is generated.
|
||||
import withNuxt from './.nuxt/eslint.config.mjs';
|
||||
|
||||
export default withNuxt({
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user