-
-
Save Abdulzeez403/9b01128b5272d54cb9d1c4525f83fb2c to your computer and use it in GitHub Desktop.
Nestjs config eslint and prettier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| parser: '@typescript-eslint/parser', | |
| parserOptions: { | |
| project: 'tsconfig.json', | |
| sourceType: 'module', | |
| }, | |
| plugins: ['@typescript-eslint/eslint-plugin'], | |
| extends: [ | |
| 'plugin:@typescript-eslint/recommended', | |
| 'prettier/@typescript-eslint', | |
| ], | |
| root: true, | |
| env: { | |
| node: true, | |
| jest: true, | |
| }, | |
| rules: { | |
| '@typescript-eslint/interface-name-prefix': 'off', | |
| '@typescript-eslint/explicit-function-return-type': 'off', | |
| '@typescript-eslint/explicit-module-boundary-types': 'off', | |
| '@typescript-eslint/no-explicit-any': 'off', | |
| }, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "semi": true, | |
| "trailingComma": "all", | |
| "singleQuote": false, | |
| "printWidth": 180, | |
| "tabWidth": 2, | |
| "arrowParens": "avoid" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment