Skip to content

Instantly share code, notes, and snippets.

@artokun
Last active October 6, 2017 03:01
Show Gist options
  • Save artokun/cb9435ce2c9ecb2d732d758ad7b535fd to your computer and use it in GitHub Desktop.
Save artokun/cb9435ce2c9ecb2d732d758ad7b535fd to your computer and use it in GitHub Desktop.
Art's eslint config
# 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