diff --git a/config/nestjs/.eslintrc.js b/config/nestjs/.eslintrc.js index 6c52b43..2ca0e60 100644 --- a/config/nestjs/.eslintrc.js +++ b/config/nestjs/.eslintrc.js @@ -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': [ @@ -75,6 +70,7 @@ module.exports = { }, ], 'no-console': 'error', + 'no-mixed-operators': 'error', 'keyword-spacing': 'error', 'no-nested-ternary': 2, 'no-undef': 'error', diff --git a/config/nestjs/.prettierrc b/config/nestjs/.prettierrc index 02b2c38..bb8deae 100644 --- a/config/nestjs/.prettierrc +++ b/config/nestjs/.prettierrc @@ -2,7 +2,7 @@ "singleQuote": true, "semi": true, "tabWidth": 2, - "trailingComma": "es5", + "trailingComma": "all", "printWidth": 80, "endOfLine": "auto" }