Skip to content

Instantly share code, notes, and snippets.

@casprwang
Created November 30, 2017 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save casprwang/b97ec78ca76987dc0ca99e60682a5384 to your computer and use it in GitHub Desktop.
Save casprwang/b97ec78ca76987dc0ca99e60682a5384 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "never"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"curly": [2, "all"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment