mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-15 16:17:58 +00:00
77 lines
No EOL
1.3 KiB
JSON
77 lines
No EOL
1.3 KiB
JSON
{
|
|
"extends": ["tslint:recommended", "tslint-no-circular-imports"],
|
|
"rulesDirectory": [
|
|
"tslint-no-unused-expression-chai"
|
|
],
|
|
"rules": {
|
|
|
|
"new-parens": true,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-conditional-assignment": true,
|
|
"no-consecutive-blank-lines": true,
|
|
"object-literal-sort-keys" : true,
|
|
"member-access" : false,
|
|
"member-ordering" : false,
|
|
"interface-name": false,
|
|
"arrow-parens" : false,
|
|
"typedef" : [
|
|
true,
|
|
"call-signature"
|
|
],
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-finally",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"allow-leading-underscore"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"double",
|
|
"avoid-escape"
|
|
],
|
|
"indent": [
|
|
true,
|
|
"tabs"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-module",
|
|
"check-separator",
|
|
"check-rest-spreak",
|
|
"check-type",
|
|
"check-typecast",
|
|
"check-type-operator",
|
|
"check-branch",
|
|
"check-operator",
|
|
"check-typecast"
|
|
],
|
|
"no-console": {
|
|
"severity": "warning",
|
|
"options": [
|
|
"debug",
|
|
"info",
|
|
"log",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
]
|
|
},
|
|
|
|
"no-unused-expression": false,
|
|
"no-unused-expression-chai": true
|
|
},
|
|
"jsRules": {
|
|
"indent": [
|
|
true,
|
|
"tabs"
|
|
]
|
|
}
|
|
} |