mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
25 lines
513 B
JavaScript
25 lines
513 B
JavaScript
import baseConfig from "../../eslint.config.mjs";
|
|
|
|
export default [
|
|
...baseConfig,
|
|
{
|
|
"files": [
|
|
"**/*.json"
|
|
],
|
|
"rules": {
|
|
"@nx/dependency-checks": [
|
|
"error",
|
|
{
|
|
"ignoredFiles": [
|
|
"{projectRoot}/eslint.config.{js,cjs,mjs}",
|
|
"{projectRoot}/vite.config.{js,ts,mjs,mts}"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"languageOptions": {
|
|
"parser": (await import('jsonc-eslint-parser'))
|
|
}
|
|
}
|
|
];
|