mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
added more eslint rules
This commit is contained in:
@@ -59,6 +59,20 @@
|
|||||||
"prefer": "type-imports"
|
"prefer": "type-imports"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"import/order": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"groups": ["builtin", "external", "parent", "sibling", "index", "object", "type"],
|
||||||
|
"pathGroups": [
|
||||||
|
{
|
||||||
|
"pattern": "@/**/**",
|
||||||
|
"group": "parent",
|
||||||
|
"position": "before"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"alphabetize": { "order": "asc" }
|
||||||
|
}
|
||||||
|
],
|
||||||
// "autofix/no-unused-vars": [
|
// "autofix/no-unused-vars": [
|
||||||
// "error",
|
// "error",
|
||||||
// {
|
// {
|
||||||
|
|||||||
Reference in New Issue
Block a user