Last active
October 6, 2017 03:01
-
-
Save artokun/cb9435ce2c9ecb2d732d758ad7b535fd to your computer and use it in GitHub Desktop.
Art's eslint 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
# yarn add babel-eslint eslint eslint-config-prettier eslint-config-standard eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-standard prettier | |
{ | |
"parser": "babel-eslint", | |
"extends": [ | |
"standard", | |
"plugin:react/recommended", | |
"prettier", | |
"prettier/react" | |
], | |
"plugins": [ | |
"standard", | |
"react", | |
"prettier" | |
], | |
"parserOptions": { | |
"sourceType": "module", | |
"ecmaVersion": 8, | |
"ecmaFeatures": { | |
"jsx": true, | |
"experimentalObjectRestSpread": true | |
} | |
}, | |
"env": { | |
"es6": true, | |
"node": true | |
}, | |
"rules": { | |
"prettier/prettier": ["error", {"singleQuote": true, "semi": false}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment