Skip to content

Commit

Permalink
feat(packages/sui-lint): Add sui/decorator-async-inline-error rule to…
Browse files Browse the repository at this point in the history
… domain package
  • Loading branch information
oriolpuig committed Jul 2, 2024
1 parent 0e334d7 commit 4c839d6
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions packages/sui-lint/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,16 @@ module.exports = {
'react/jsx-no-bind': RULES.OFF
},
overrides: [
// {
// files: ['**/domain/src/**', 'domain/src/**'],
// plugins: ['sui'],
// rules: {
// 'sui/factory-pattern': RULES.WARNING,
// 'sui/serialize-deserialize': RULES.WARNING,
// 'sui/decorators-adr': RULES.WARNING
// }
// },
{
files: ['**/domain/src/**', 'domain/src/**'],
plugins: ['sui'],
rules: {
'sui/factory-pattern': RULES.WARNING,
'sui/serialize-deserialize': RULES.WARNING,
'sui/decorators': RULES.WARNING,
'sui/decorator-async-inline-error': RULES.WARNING
}
},
{
files: ['**/*.+(ts|tsx)'],
extends: ['standard-with-typescript', 'standard-react', 'prettier'],
Expand Down

0 comments on commit 4c839d6

Please sign in to comment.