about summary refs log tree commit diff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-10-29 23:02:48 +0000
committerGitHub <noreply@github.com>2024-10-29 23:02:48 +0000
commita22685c34542d43a71c3496df28e86207ec7fbed (patch)
tree8422153468c9e7707956dae05d68617e9bbdf0d0 /.eslintrc.js
parent0ae64a1e0a3c3c6436b5edd0539ba9022a474ae8 (diff)
downloadvoidsky-a22685c34542d43a71c3496df28e86207ec7fbed.tar.zst
Sort imports (#6009)
* Mark import sort/order/style rules as error

* npm run lint -- --fix
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 66e75d485..ac50d978f 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -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': [