Created
March 8, 2018 19:37
-
-
Save agoldis/8127a03a81b3effe1de946c493558f00 to your computer and use it in GitHub Desktop.
eslint + prettier config
This file contains 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
module.exports = { | |
"extends": [ | |
"standard", | |
"plugin:react/recommended", | |
"prettier", | |
"prettier/react", | |
"prettier/standard" | |
], | |
"plugins": [ | |
"react", | |
"prettier", | |
"standard" | |
], | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"rules": { | |
"prettier/prettier": "error" | |
} | |
}; |
This file contains 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
{ | |
"printWidth": 120, | |
"singleQuote": true | |
} |
This file contains 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
{ | |
"eslint": "^4.18.2", | |
"eslint-cli": "^1.1.1", | |
"eslint-config-prettier": "^2.9.0", | |
"eslint-config-standard": "^11.0.0", | |
"eslint-plugin-import": "^2.9.0", | |
"eslint-plugin-node": "^6.0.1", | |
"eslint-plugin-prettier": "^2.6.0", | |
"eslint-plugin-promise": "^3.7.0", | |
"eslint-plugin-react": "^7.7.0", | |
"eslint-plugin-standard": "^3.0.1", | |
"prettier": "^1.11.1", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment