Sort imports (#6009)

* Mark import sort/order/style rules as error

* npm run lint -- --fix
This commit is contained in:
dan
2024-10-29 23:02:48 +00:00
committed by GitHub
parent 0ae64a1e0a
commit a22685c345
130 changed files with 373 additions and 342 deletions
+3 -3
View File
@@ -42,9 +42,9 @@ module.exports = {
],
'bsky-internal/use-exact-imports': 'error',
'bsky-internal/use-typed-gates': 'error',
'bsky-internal/use-prefixed-imports': 'warn',
'bsky-internal/use-prefixed-imports': 'error',
'simple-import-sort/imports': [
'warn',
'error',
{
groups: [
// Side effect imports.
@@ -78,7 +78,7 @@ module.exports = {
],
},
],
'simple-import-sort/exports': 'warn',
'simple-import-sort/exports': 'error',
// TODO: Reenable when we figure out why it gets stuck on CI.
// 'react-compiler/react-compiler': 'error',
'no-restricted-imports': [