Created
August 1, 2019 09:45
-
-
Save pferreir/84885cbfa77ee040ee6fb0ab2113f690 to your computer and use it in GitHub Desktop.
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
| commit ea33b7f7fa1dca084a4a10bd989919c1ca002ca1 | |
| Author: Pedro Ferreira <pedro.ferreira@cern.ch> | |
| Date: Thu Aug 1 11:45:03 2019 +0200 | |
| Add .eslintrc to integrate with editors | |
| diff --git a/newdle/client/.eslintrc.json b/newdle/client/.eslintrc.json | |
| new file mode 100644 | |
| index 0000000..e0217a1 | |
| --- /dev/null | |
| +++ b/newdle/client/.eslintrc.json | |
| @@ -0,0 +1,7 @@ | |
| +{ | |
| + "extends": ["react-app", "prettier"], | |
| + "plugins": ["prettier"], | |
| + "rules": { | |
| + "prettier/prettier": "error" | |
| + } | |
| +} | |
| diff --git a/newdle/client/package.json b/newdle/client/package.json | |
| index f3bc239..1c6cdcd 100644 | |
| --- a/newdle/client/package.json | |
| +++ b/newdle/client/package.json | |
| @@ -23,6 +23,9 @@ | |
| "@jedmao/redux-mock-store": "^2.0.2", | |
| "enzyme": "^3.10.0", | |
| "enzyme-adapter-react-16": "^1.14.0", | |
| + "eslint-config-prettier": "^6.0.0", | |
| + "eslint-config-react-app": "^4.0.1", | |
| + "eslint-plugin-prettier": "^3.1.0", | |
| "flask-urls.macro": "0.0.1", | |
| "node-sass": "^4.12.0" | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment