Skip to content

Instantly share code, notes, and snippets.

@eesa1980
Last active July 3, 2021 19:38
Show Gist options
  • Save eesa1980/61536c57207aa297b23d9756dcfefd66 to your computer and use it in GitHub Desktop.
Save eesa1980/61536c57207aa297b23d9756dcfefd66 to your computer and use it in GitHub Desktop.
#eslint #config
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"react-app/jest"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"react/display-name": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"react/prop-types": "off",
"@typescript-eslint/no-non-null-assertion": "off"
},
"ignorePatterns": [
"amplify/",
"build",
"coverage",
"amplify-backup/",
"src/graphql/",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment