Created
August 28, 2020 18:21
-
-
Save diegomais/236fa91c6c57591470159c99c6b38022 to your computer and use it in GitHub Desktop.
ESLint with Standard Style Guide
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
{ | |
"env": { | |
"browser": true, | |
"es2020": true, | |
"node": true, | |
"jest": true | |
}, | |
"extends": [ | |
"plugin:react/recommended", | |
"standard", | |
"plugin:@typescript-eslint/recommended", | |
"prettier/@typescript-eslint", | |
"prettier/standard", | |
"prettier/react" | |
], | |
"parser": "@typescript-eslint/parser", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"ecmaVersion": 12, | |
"sourceType": "module" | |
}, | |
"plugins": [ | |
"react", | |
"@typescript-eslint", | |
"prettier" | |
], | |
"rules": { | |
"prettier/prettier": "error", | |
"space-before-function-paren": "off", | |
"react/prop-types": "off" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment