mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-05 09:19:54 +00:00
25 lines
510 B
JavaScript
25 lines
510 B
JavaScript
import config from 'eslint-config-standard-universal'
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
import svelteConfig from './svelte.config.js'
|
|
|
|
export default tseslint.config(
|
|
...config(),
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
tsconfigRootDir: import.meta.dirname,
|
|
svelteConfig
|
|
}
|
|
},
|
|
rules: {
|
|
"svelte/no-useless-mustaches": [
|
|
"error",
|
|
{
|
|
"ignoreIncludesComment": false,
|
|
"ignoreStringEscape": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
)
|