Skip to content

Commit

Permalink
🔧 eslint: restrict server imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Jun 14, 2024
1 parent d24a760 commit a7e2a38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
"eslint-comments/no-unused-disable": "error",
"import/prefer-default-export": "error",
"no-console": "error",
"no-restricted-imports": ["error", { patterns: ["server/"] }],
"no-shadow": "off", // @typescript-eslint/no-shadow
"react-native/no-raw-text": ["error", { skip: ["Button", "Heading", "SizableText"] }],
"unicorn/filename-case": "off", // use default export name
Expand Down

0 comments on commit a7e2a38

Please sign in to comment.