Skip to content

Instantly share code, notes, and snippets.

@pataruco
Last active October 13, 2021 20:30
Show Gist options
  • Save pataruco/353b75f87ad809dc96b64174b2201f60 to your computer and use it in GitHub Desktop.
Save pataruco/353b75f87ad809dc96b64174b2201f60 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": ["eslint:recommended", "prettier"],
"rules": {
"brace-style": "error",
"camelcase": ["error", { "properties": "never" }],
"comma-dangle": ["error", "never"],
"func-call-spacing": ["error", "never"],
"keyword-spacing": ["error", { "before": true }],
"space-infix-ops": ["error", { "int32Hint": false }],
"object-curly-spacing": ["error", "always"],
"eqeqeq": "warn",
"indent": ["error", 2, { "SwitchCase": 1 }],
"key-spacing": ["error", { "beforeColon": false }],
"no-console": "off",
"no-fallthrough": "warn",
"prefer-const": "error",
"quotes": ["error", "single"],
"semi": ["error", "never"],
"react/prop-types": [0]
}
}
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"endOfLine": "lf"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment