-
-
Save sokna7/dcf1c6f1e7a030c745dfb22c8d60be62 to your computer and use it in GitHub Desktop.
node ts eslintrc example
This file contains 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 = { | |
root: true, | |
env: { | |
node: true, | |
es6: true, | |
}, | |
parser: '@typescript-eslint/parser', | |
parserOptions: { | |
sourceType: 'module', | |
}, | |
extends: [ | |
'eslint:recommended', | |
'plugin:@typescript-eslint/recommended', | |
'prettier/@typescript-eslint', | |
'prettier', | |
], | |
rules: { | |
'prettier/prettier': 'error', | |
}, | |
plugins: ['@typescript-eslint', 'prettier'], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment