mirror of
https://github.com/interstellar750/hexo_s
synced 2024-09-08 09:32:38 +08:00
38 lines
660 B
JSON
38 lines
660 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:svelte/recommended",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"svelte"
|
|
],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": 2020,
|
|
"extraFileExtensions": [
|
|
".svelte"
|
|
]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es2017": true,
|
|
"node": true
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.svelte"
|
|
],
|
|
"parser": "svelte-eslint-parser",
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser"
|
|
}
|
|
}
|
|
]
|
|
}
|