refactor: enforce semantic values and numeric lint rules

This commit is contained in:
2026-09-13 14:37:25 +03:00
parent 24d332e063
commit 53c852b437
21 changed files with 190 additions and 47 deletions
+17 -1
View File
@@ -27,7 +27,8 @@
},
"style": {
"noDefaultExport": "error",
"useExportsLast": "error"
"useExportsLast": "error",
"noMagicNumbers": "error"
}
}
},
@@ -57,6 +58,21 @@
}
}
}
},
{
"includes": [
"**/*.test.ts",
"**/*.test.tsx",
"**/*.stories.tsx",
"src/test/**"
],
"linter": {
"rules": {
"style": {
"noMagicNumbers": "off"
}
}
}
}
]
}