Created
February 28, 2020 23:25
-
-
Save kocisov/1e5dd2d7e7883778ac9868eb1092b2f2 to your computer and use it in GitHub Desktop.
ESLint config /> Next
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
{ | |
"@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" | |
} |
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
{ | |
"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