mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00:00
52 lines
1.3 KiB
Text
52 lines
1.3 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": {
|
|
"window": true,
|
|
"angular": true,
|
|
"gtag": true,
|
|
"dataLayer": true,
|
|
"hljs": true,
|
|
"JSZip": true,
|
|
"Masonry": true,
|
|
"saveAs": true,
|
|
"Base64": true,
|
|
"FileReader": true,
|
|
"notie": true
|
|
}
|
|
}
|