generated from Seekra/repository-template
chore(lint): set up ESLint
Added ESLint dependencies and ESLint configuration.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import js from '@eslint/js';
|
||||
import { defineConfig } from 'eslint/config';
|
||||
import pluginVue from 'eslint-plugin-vue';
|
||||
import globals from 'globals';
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
files: ['**/*.{js,mjs,cjs,vue}'],
|
||||
plugins: { js },
|
||||
extends: ['js/recommended'],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node
|
||||
}
|
||||
}
|
||||
},
|
||||
pluginVue.configs['flat/essential'],
|
||||
]);
|
||||
Reference in New Issue
Block a user