Skip to content

Instantly share code, notes, and snippets.

@kocisov
Created February 28, 2020 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kocisov/1e5dd2d7e7883778ac9868eb1092b2f2 to your computer and use it in GitHub Desktop.
Save kocisov/1e5dd2d7e7883778ac9868eb1092b2f2 to your computer and use it in GitHub Desktop.
ESLint config /> Next
{
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-react-app": "^5.2.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.5.0",
"prettier": "^1.19.1"
}
{
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"react-app",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"react"
],
"rules": {
"react/react-in-jsx-scope": 0,
"@typescript-eslint/explicit-function-return-type": 0
}
},
"prettier": {
"semi": false,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment