-
-
Notifications
You must be signed in to change notification settings - Fork 277
Expand file tree
/
Copy patheslint.config.js
More file actions
28 lines (26 loc) · 779 Bytes
/
eslint.config.js
File metadata and controls
28 lines (26 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import js from '@eslint/js'
import eslintPluginVue from 'eslint-plugin-vue'
import globals from 'globals'
import autoImports from './.eslintrc-auto-import.mjs'
import { defineConfig } from "eslint/config";
// const compat = new FlatCompat()
export default defineConfig([
// autoImports,
js.configs.recommended,
...eslintPluginVue.configs['flat/essential'],
{
name: 'app/files-to-lint',
files: ['resources/js/**/*.{js,mjs,jsx,vue}'],
rules: {
'vue/multi-word-component-names': 'off',
'no-unused-vars': 'off',
},
languageOptions: {
globals: {
...globals.node,
...globals.browser,
...autoImports.globals
},
},
},
])