Skip to content

Commit

Permalink
Merge pull request #16 from vcian/revert-15-feature/nestjs
Browse files Browse the repository at this point in the history
Revert "some rule add and remove from eslint"
  • Loading branch information
palaklive authored Feb 19, 2024
2 parents a56f849 + a861ba9 commit dfd9025
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions config/nestjs/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,13 @@ module.exports = {
{ selector: 'typeProperty', format: null },
{ selector: 'typeLike', format: ['StrictPascalCase'] },
{ selector: 'enumMember', format: ['UPPER_CASE'] },
{
selector: 'interface',
format: ['StrictPascalCase'],
prefix: ['I'],
},
],
'no-useless-return': 'error',
'no-constant-condition': 'warn',
'max-len': [
'error',
{
code: 120,
code: 200,
},
],
'max-lines': [
Expand All @@ -75,6 +70,7 @@ module.exports = {
},
],
'no-console': 'error',
'no-mixed-operators': 'error',
'keyword-spacing': 'error',
'no-nested-ternary': 2,
'no-undef': 'error',
Expand Down
2 changes: 1 addition & 1 deletion config/nestjs/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"trailingComma": "es5",
"trailingComma": "all",
"printWidth": 80,
"endOfLine": "auto"
}

0 comments on commit dfd9025

Please sign in to comment.