mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
|
{
|
||
|
"rules": {
|
||
|
"class-name": true,
|
||
|
"comment-format": [
|
||
|
true,
|
||
|
"check-space"
|
||
|
],
|
||
|
"indent": [
|
||
|
true,
|
||
|
"spaces"
|
||
|
],
|
||
|
"no-duplicate-variable": true,
|
||
|
"no-eval": true,
|
||
|
"no-internal-module": true,
|
||
|
"no-trailing-whitespace": true,
|
||
|
"no-var-keyword": true,
|
||
|
"one-line": [
|
||
|
true,
|
||
|
"check-open-brace",
|
||
|
"check-whitespace"
|
||
|
],
|
||
|
"quotemark": [
|
||
|
true,
|
||
|
"double"
|
||
|
],
|
||
|
"semicolon": [
|
||
|
true,
|
||
|
"always"
|
||
|
],
|
||
|
"triple-equals": [
|
||
|
true,
|
||
|
"allow-null-check"
|
||
|
],
|
||
|
"typedef-whitespace": [
|
||
|
true,
|
||
|
{
|
||
|
"call-signature": "nospace",
|
||
|
"index-signature": "nospace",
|
||
|
"parameter": "nospace",
|
||
|
"property-declaration": "nospace",
|
||
|
"variable-declaration": "nospace"
|
||
|
}
|
||
|
],
|
||
|
"variable-name": [
|
||
|
true,
|
||
|
"ban-keywords"
|
||
|
],
|
||
|
"whitespace": [
|
||
|
true,
|
||
|
"check-branch",
|
||
|
"check-decl",
|
||
|
"check-operator",
|
||
|
"check-separator",
|
||
|
"check-type"
|
||
|
]
|
||
|
}
|
||
|
}
|