From a22685c34542d43a71c3496df28e86207ec7fbed Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 29 Oct 2024 23:02:48 +0000 Subject: Sort imports (#6009) * Mark import sort/order/style rules as error * npm run lint -- --fix --- .eslintrc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.eslintrc.js') 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': [ -- cgit 1.4.1