toot-script-condivisione-su.../.eslintrc.json

42 lines
748 B
JSON
Raw Normal View History

2023-03-01 12:12:17 +01:00
{
2023-03-17 21:08:08 +01:00
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:unicorn/recommended",
"plugin:astro/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
2023-03-01 12:12:17 +01:00
"env": {
"browser": true
},
"overrides": [
{
2023-03-17 21:08:08 +01:00
"files": ["*.astro"],
"parser": "astro-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"extraFileExtensions": [".astro"]
}
},
{
"files": ["api/*.js", "astro.config.ts"],
2023-03-01 12:12:17 +01:00
"env": {
"node": true,
"browser": false
},
"rules": {
"unicorn/prefer-node-protocol": 0
}
2023-03-17 21:08:08 +01:00
},
{
"files": ["src/env.d.ts"],
"rules": {
"unicorn/prevent-abbreviations": 0
}
2023-03-01 12:12:17 +01:00
}
]
}