showdown/.eslintrc.json
Estevão Soares dos Santos 997adada9d Merge branch 'develop' into event_refactor
# Conflicts:
#	.eslintrc.json
#	docs/event_system.md
#	test/unit/showdown.Converter.js
2022-03-31 05:00:21 +01:00

34 lines
867 B
JSON

{
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": 2}],
"curly": [2, "all"],
"operator-linebreak": [2, "after"],
"camelcase": [2, {"properties": "never"}],
"quotes": [2, "single"],
"no-multi-str": 2,
"no-mixed-spaces-and-tabs": 2,
"no-trailing-spaces": 2,
"space-unary-ops": [2,
{
"nonwords": false,
"overrides": {}
}
],
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"keyword-spacing": [2, {}],
"space-infix-ops": 2,
"space-before-blocks": [2, "always"],
"eol-last": 2,
"space-before-function-paren": [2, "always"],
"array-bracket-spacing": [2, "never", {"singleValue": false}],
"space-in-parens": [2, "never"],
"no-multiple-empty-lines": 2
}
}