Skip to content

Instantly share code, notes, and snippets.

@yasinatesim
Created March 9, 2019 18:26
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 yasinatesim/b487c597f7494d3054e7cd09c5207b1a to your computer and use it in GitHub Desktop.
Save yasinatesim/b487c597f7494d3054e7cd09c5207b1a to your computer and use it in GitHub Desktop.
My Custom eslintrc file
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-var": "error",
"prefer-arrow-callback": "error",
"brace-style": "error",
"func-style": [2, "expression"],
"object-property-newline": "error",
"object-curly-newline": "error",
"array-element-newline": "error",
"array-bracket-newline": "error",
"no-empty": "error",
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment