mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-05-11 23:07:25 +00:00
55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"extends": "./lib/lint",
|
|
"defaultSeverity": "warning",
|
|
"rules": {
|
|
"as-internal-case": {},
|
|
"as-internal-diagnostics": {},
|
|
"indent": {
|
|
"options": ["spaces", 2]
|
|
},
|
|
"max-line-length": {
|
|
"options": [{
|
|
"limit": 120,
|
|
"ignore-pattern": " *DiagnosticCode\\.[^ ]+,$"
|
|
}]
|
|
},
|
|
"member-access": {
|
|
"options": ["no-public"]
|
|
},
|
|
"quotemark": {
|
|
"options": ["double"]
|
|
},
|
|
"semicolon": {
|
|
"options": ["always"]
|
|
},
|
|
"whitespace": {
|
|
"options": [
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-rest-spread",
|
|
"check-type",
|
|
"check-type-operator",
|
|
"check-preblock"
|
|
]
|
|
},
|
|
"restrict-plus-operands": false
|
|
},
|
|
"jsRules": {
|
|
"max-line-length": {
|
|
"options": [{
|
|
"limit": 120,
|
|
"ignore-pattern": " *DiagnosticCode\\.[^ ]+,$"
|
|
}]
|
|
},
|
|
"quotemark": {
|
|
"options": ["double"]
|
|
},
|
|
"radix": {},
|
|
"semicolon": {
|
|
"options": ["always"]
|
|
}
|
|
}
|
|
}
|