nginxconfig.io/.eslintrc
trin4ik c024c4a06a adds a button to copy the generated config to the buffer as base64 string (#85)
* add copy base64 zip string for paste in console like
$ echo 'base64string' | base64 --decode > nginxconfig.io.zip

* preparing for merge

* copyAsBase64()

* added copy-paste steps
2019-05-19 19:37:52 +02:00

49 lines
1.2 KiB
Text

{
"extends": "eslint:recommended",
"rules": {
"array-bracket-spacing": ["error", "never"],
"brace-style": "error",
"comma-dangle": ["error", "always-multiline"],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"curly": ["error", "all"],
"eqeqeq": ["error", "always"],
"func-call-spacing": ["error", "never"],
"func-style": ["error", "declaration"],
"indent": ["error", "tab"],
"key-spacing": ["error", {
"afterColon": true,
"mode": "minimum",
}],
"keyword-spacing": ["error", {
"before": true,
"after": true
}],
"linebreak-style": ["error", "unix"],
"object-curly-newline": ["error", {
"minProperties": 1
}],
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"padded-blocks": ["error", "never"],
"padding-line-between-statements": ["error",
{ "blankLine": "always", "prev": "*", "next": "return" }
],
"quote-props": ["error", "as-needed"],
"quotes": ["error", "single"],
"semi-spacing": ["error", {
"before": false,
"after": true
}]
},
"globals": {
"angular": true,
"gtag": true,
"hljs": true,
"JSZip": true,
"Masonry": true,
"saveAs": true,
"Base64": true,
"FileReader": true
}
}