2025-02-23
2025-02-24
This commit is contained in:
parent
2212f4fc14
commit
0f52ff0cef
40 changed files with 846 additions and 75 deletions
24
cfg/eslint-css.config.mts
Normal file
24
cfg/eslint-css.config.mts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import css from "@eslint/css";
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: [".cache", "dist", "node_modules"],
|
||||
},
|
||||
{
|
||||
files: ["src/styles/**/*.css"],
|
||||
language: "css/css",
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
},
|
||||
tolerant: true,
|
||||
},
|
||||
plugins: {
|
||||
css,
|
||||
},
|
||||
rules: {
|
||||
"css/no-duplicate-imports": "error",
|
||||
"css/require-baseline": "error",
|
||||
},
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue