Skip to content

Commit

Permalink
patch(feat): all | support for eslint boundaries.
Browse files Browse the repository at this point in the history
Boundaries allows us to define relationship between internal modules.
It is mainly used in octo-aws-cdk package.
For octo package a default boundary is provided that is not being used.
  • Loading branch information
rash805115 committed Nov 24, 2024
1 parent ecf8e46 commit d5d3db4
Show file tree
Hide file tree
Showing 5 changed files with 1,243 additions and 96 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:boundaries/recommended',
'plugin:jsonc/recommended-with-jsonc',
'plugin:prettier/recommended',
],
Expand All @@ -30,7 +31,7 @@
sourceType: 'module',
tsconfigRootDir: __dirname,
},
plugins: ['@nx', '@typescript-eslint/eslint-plugin', 'import', 'spellcheck'],
plugins: ['@nx', '@typescript-eslint/eslint-plugin', 'boundaries', 'import', 'spellcheck'],
root: true,
rules: {
'@typescript-eslint/consistent-type-imports': ['error', { fixStyle: 'inline-type-imports'}],
Expand Down
Loading

0 comments on commit d5d3db4

Please sign in to comment.