|
|
|
@ -1,5 +1,6 @@
|
|
|
|
import eslint from "@eslint/js";
|
|
|
|
import eslint from "@eslint/js";
|
|
|
|
import tseslint from "typescript-eslint";
|
|
|
|
import tseslint from "typescript-eslint";
|
|
|
|
|
|
|
|
import simpleImportSort from "eslint-plugin-simple-import-sort";
|
|
|
|
|
|
|
|
|
|
|
|
export default tseslint.config(
|
|
|
|
export default tseslint.config(
|
|
|
|
eslint.configs.recommended,
|
|
|
|
eslint.configs.recommended,
|
|
|
|
@ -16,6 +17,11 @@ export default tseslint.config(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
plugins: {
|
|
|
|
|
|
|
|
"simple-import-sort": simpleImportSort
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
// add rule overrides here
|
|
|
|
// add rule overrides here
|
|
|
|
@ -28,7 +34,8 @@ export default tseslint.config(
|
|
|
|
varsIgnorePattern: "^_"
|
|
|
|
varsIgnorePattern: "^_"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"sort-imports": [ "error", { ignoreCase: false } ]
|
|
|
|
"simple-import-sort/imports": "error",
|
|
|
|
|
|
|
|
"simple-import-sort/exports": "error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|