2024-07-30 23:59:06 +02:00
|
|
|
{
|
2024-09-11 23:53:26 +02:00
|
|
|
"extends": ["conventions"],
|
|
|
|
"plugins": ["import-x"],
|
|
|
|
"rules": {
|
|
|
|
"import-x/no-absolute-path": "error",
|
|
|
|
"import-x/no-webpack-loader-syntax": "error",
|
|
|
|
"import-x/no-self-import": "error",
|
|
|
|
"import-x/no-useless-path-segments": "error",
|
|
|
|
"import-x/export": "error",
|
|
|
|
"import-x/no-duplicates": "error",
|
|
|
|
"import-x/no-named-default": "error",
|
|
|
|
"import-x/no-empty-named-blocks": "error",
|
|
|
|
"import-x/no-anonymous-default-export": "error",
|
|
|
|
"import-x/extensions": [
|
|
|
|
"error",
|
|
|
|
"ignorePackages",
|
|
|
|
{
|
|
|
|
"ts": "always",
|
|
|
|
"tsx": "always",
|
|
|
|
"js": "never",
|
|
|
|
"jsx": "never"
|
|
|
|
}
|
2024-10-12 23:51:58 +02:00
|
|
|
],
|
|
|
|
"import-x/consistent-type-specifier-style": ["error", "prefer-top-level"]
|
2024-09-11 23:53:26 +02:00
|
|
|
}
|
2024-07-30 23:59:06 +02:00
|
|
|
}
|