Skip to content

Commit

Permalink
chore: disable relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gutyerrez committed Oct 11, 2024
1 parent da9688c commit 096dc6d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,15 @@ export default [
'require-await': 'off',
'space-in-parens': [ 'error', 'never' ],
'unused-imports/no-unused-imports': 'error',
'no-restricted-imports': [
'error',
{
'patterns': [
'./*',
'../*'
]
}
],
'import-newlines/enforce': [
'error',
2,
Expand Down Expand Up @@ -189,6 +198,7 @@ export default [
],
[
'/^@[^/]+\\/[^/]+(?:\\/[^/]+)?\\/data\\//',
'/^@[^/]+\\/[^/]+(?:\\/[^/]+)?\\/model\\//',
'/^@[^/]+\\/[^/]+(?:\\/[^/]+)?\\/models\\//',
'/^@[^/]+\\/[^/]+(?:\\/[^/]+)?\\/entity\\//',
'/^@[^/]+\\/[^/]+(?:\\/[^/]+)?\\/entities\\//',
Expand Down

0 comments on commit 096dc6d

Please sign in to comment.