mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-06 09:02:52 +08:00
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"extends": [
|
|
"tslint:recommended",
|
|
"tslint-eslint-rules"
|
|
],
|
|
"rules": {
|
|
"array-bracket-spacing": [true, "always"],
|
|
"arrow-parens": [true, "ban-single-arg-parens"],
|
|
"array-type": [true, "generic"],
|
|
"block-spacing": [true, "always"],
|
|
"brace-style": [true, "1tbs", { "allowSingleLine": true }],
|
|
"curly": [true, "ignore-same-line"],
|
|
"eofline": true,
|
|
"interface-name": [true, "never-prefix"],
|
|
"linebreak-style": [true, "LF"],
|
|
"max-line-length": [false],
|
|
"member-ordering": [true, { "order": ["static-field", "instance-field", "constructor", "static-method", "instance-method"] }],
|
|
"no-bitwise": false,
|
|
"no-console": [true],
|
|
"no-empty-interface": false,
|
|
"no-trailing-whitespace": [true],
|
|
"no-unused-variable": [true],
|
|
"object-curly-spacing": [true, "always"],
|
|
"object-literal-shorthand": false,
|
|
"object-literal-sort-keys": false,
|
|
"ordered-imports": [true, { "import-sources-order": "any", "named-imports-order": "any" }],
|
|
"semicolon": [true, "always"],
|
|
"ter-indent": [true, 4],
|
|
"ter-no-irregular-whitespace": [true],
|
|
"trailing-comma": [true, "never"],
|
|
"triple-equals": [true],
|
|
"variable-name": [true, "allow-leading-underscore"]
|
|
}
|
|
}
|