Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
吕 成东
old-smart-home-vr
Commits
993a4131
Commit
993a4131
authored
Jan 21, 2025
by
吕 成东
Browse files
Upload New File
parent
9f7395ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
eslint.config.js
0 → 100644
View file @
993a4131
import
js
from
'
@eslint/js
'
import
pluginVue
from
'
eslint-plugin-vue
'
import
pluginVitest
from
'
@vitest/eslint-plugin
'
import
skipFormatting
from
'
@vue/eslint-config-prettier/skip-formatting
'
export
default
[
{
name
:
'
app/files-to-lint
'
,
files
:
[
'
**/*.{js,mjs,jsx,vue}
'
],
},
{
name
:
'
app/files-to-ignore
'
,
ignores
:
[
'
**/dist/**
'
,
'
**/dist-ssr/**
'
,
'
**/coverage/**
'
],
},
js
.
configs
.
recommended
,
...
pluginVue
.
configs
[
'
flat/essential
'
],
{
...
pluginVitest
.
configs
.
recommended
,
files
:
[
'
src/**/__tests__/*
'
],
},
skipFormatting
,
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment