mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-02 01:21:25 +00:00
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
|
{
|
||
|
"defaultSeverity": "warning",
|
||
|
"rules": {
|
||
|
"adjacent-overload-signatures": true,
|
||
|
"ban-types": [ true, ["Object"], ["any"], ["undefined"], ["never"] ],
|
||
|
"deprecation": true,
|
||
|
"encoding": true,
|
||
|
"eofline": true,
|
||
|
"indent": [true, "spaces", 2],
|
||
|
"label-position": true,
|
||
|
"member-access": [ true, "no-public" ],
|
||
|
"new-parens": true,
|
||
|
"no-any": true,
|
||
|
"no-arg": true,
|
||
|
"no-consecutive-blank-lines": true,
|
||
|
"no-debugger": true,
|
||
|
"no-default-export": true,
|
||
|
"no-duplicate-imports": true,
|
||
|
"no-duplicate-super": true,
|
||
|
"no-duplicate-switch-case": true,
|
||
|
"no-duplicate-variable": true,
|
||
|
"no-eval": true,
|
||
|
"no-inferred-empty-object-type": true,
|
||
|
"no-internal-module": true,
|
||
|
"no-invalid-template-strings": true,
|
||
|
"no-invalid-this": true,
|
||
|
"no-irregular-whitespace": true,
|
||
|
"no-mergeable-namespace": true,
|
||
|
"no-misused-new": true,
|
||
|
"no-object-literal-type-assertion": true,
|
||
|
"no-parameter-properties": true,
|
||
|
"no-require-imports": true,
|
||
|
"no-shadowed-variable": true,
|
||
|
"no-sparse-arrays": true,
|
||
|
"no-string-literal": true,
|
||
|
"no-string-throw": true,
|
||
|
"no-this-assignment": true,
|
||
|
"no-trailing-whitespace": true,
|
||
|
"no-unbound-method": true,
|
||
|
"no-unsafe-any": true,
|
||
|
"no-unused-variable": true,
|
||
|
"no-void-expression": true,
|
||
|
"object-literal-shorthand": [true, "never"],
|
||
|
"prefer-method-signature": true,
|
||
|
"quotemark": [true, "double"],
|
||
|
"radix": true,
|
||
|
"restrict-plus-operands": true,
|
||
|
"semicolon": [true, "always"]
|
||
|
}
|
||
|
}
|