Skip to content

Instantly share code, notes, and snippets.

@diegomais
Created August 28, 2020 18:21
Show Gist options
  • Save diegomais/236fa91c6c57591470159c99c6b38022 to your computer and use it in GitHub Desktop.
Save diegomais/236fa91c6c57591470159c99c6b38022 to your computer and use it in GitHub Desktop.
ESLint with Standard Style Guide
{
"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