Created
September 6, 2018 03:27
-
-
Save mikeerickson/3848a2b2bee9c24d0ea63ac4c407a2bd to your computer and use it in GitHub Desktop.
ESLint Configuration w/ TypeScript
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
Show hidden characters
| { | |
| "extends": "eslint:recommended", | |
| "parser": "typescript-eslint-parser", | |
| "plugins": ["typescript"], | |
| "overrides": [ | |
| { | |
| "files": ["*-test.js", "*.spec.js"], | |
| "rules": { | |
| "no-unused-expressions": "off" | |
| } | |
| } | |
| ], | |
| "rules": { | |
| "no-console": 0, | |
| "semi": 2, | |
| "import/no-extraneous-dependencies": 0, | |
| "class-methods-use-this": 0, | |
| "no-unused-vars": 0, | |
| "no-undef": 0, | |
| "comma-dangle": 0, | |
| "strict": 0, | |
| "import/no-unresolved": 0, | |
| "no-useless-constructor": 0, | |
| "no-empty-function": 0, | |
| "no-unused-expressions": 0, | |
| "quotes": ["error", "double"] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment