assemblyscript/tslint.json

55 lines
1.1 KiB
JSON
Raw Permalink Normal View History

2017-12-24 03:19:47 +01:00
{
2018-03-13 14:03:57 +01:00
"extends": "./lib/lint",
2017-12-24 03:19:47 +01:00
"defaultSeverity": "warning",
"rules": {
2018-03-13 14:03:57 +01:00
"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"]
2018-03-26 03:50:06 +02:00
},
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
]
},
"restrict-plus-operands": false
2018-02-25 00:13:39 +01:00
},
"jsRules": {
2018-03-13 14:03:57 +01:00
"max-line-length": {
"options": [{
"limit": 120,
"ignore-pattern": " *DiagnosticCode\\.[^ ]+,$"
}]
},
"quotemark": {
"options": ["double"]
},
"radix": {},
"semicolon": {
"options": ["always"]
}
2017-12-24 03:19:47 +01:00
}
}