Skip to content

Instantly share code, notes, and snippets.

@uniibu
Created November 18, 2018 13:13
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 uniibu/1df2815473c0e50c5360a17225a05bf3 to your computer and use it in GitHub Desktop.
Save uniibu/1df2815473c0e50c5360a17225a05bf3 to your computer and use it in GitHub Desktop.
eslimytc
{
"root": true,
"env": {
"commonjs": true,
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"no-console": "off",
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"object-curly-spacing": [
"error",
"always"
],
"no-multiple-empty-lines": [
"error",
{
"max": 1
}
],
"brace-style": "error",
"array-element-newline": [
"error",
"consistent"
],
"array-bracket-newline": [
"error",
{
"minItems": 3
}
],
"array-bracket-spacing": [
"error",
"never"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment