fchat-rising/tslint.json

182 lines
4.1 KiB
JSON
Raw Permalink Normal View History

2017-09-02 01:50:31 +00:00
{
"defaultSeverity": "warning",
"extends": [
"tslint:all"
],
"jsRules": {
"align": [
true,
"elements",
"members",
"parameters",
"statements"
],
"comment-format": false,
2019-07-06 16:49:19 +00:00
"curly": false,
2017-09-02 01:50:31 +00:00
"eofline": false,
"linebreak-style": false,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"max-line-length": [
true,
140
],
"newline-before-return": false,
"quotemark": [
true,
"single"
],
"whitespace": [
true,
"check-decl",
"check-operator",
"check-separator",
"check-preblock",
"check-rest-spread"
]
},
"rules": {
"align": [
true,
"members",
"parameters",
"statements"
],
"array-type": [
true,
"array"
],
"await-promise": [true, "AxiosPromise", "Bluebird"],
2017-09-02 01:50:31 +00:00
"comment-format": false,
"completed-docs": false,
2019-07-06 16:49:19 +00:00
"curly": false,
2017-09-02 01:50:31 +00:00
"cyclomatic-complexity": false,
"eofline": false,
2018-08-10 16:59:37 +00:00
"file-name-casing": false,
"forin": false,
2019-01-03 17:38:17 +00:00
"increment-decrement": false,
2017-09-02 01:50:31 +00:00
"interface-name": false,
"interface-over-type-literal": false,
2020-03-15 14:02:31 +00:00
"invalid-void": false,
2017-09-02 01:50:31 +00:00
"linebreak-style": false,
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"member-access": [
true,
"no-public"
],
"member-ordering": false,
2017-09-02 01:50:31 +00:00
"newline-before-return": false,
"newline-per-chained-call": false,
2020-03-15 14:02:31 +00:00
"no-any": false,
2017-09-02 01:50:31 +00:00
"no-angle-bracket-type-assertion": false,
2020-03-15 14:02:31 +00:00
"no-async-without-await": false,
2017-09-02 01:50:31 +00:00
"no-bitwise": false,
"no-conditional-assignment": false,
2019-07-06 16:49:19 +00:00
"no-consecutive-blank-lines": [true, 2],
2017-09-02 01:50:31 +00:00
"no-console": false,
"no-default-export": false,
2019-01-03 17:38:17 +00:00
"no-default-import": false,
2020-03-15 14:02:31 +00:00
"no-duplicate-imports": false,
"no-dynamic-delete": false,
2020-03-15 14:02:31 +00:00
"no-for-in": false,
2017-09-02 01:50:31 +00:00
"no-floating-promises": [true, "AxiosPromise"],
"no-implicit-dependencies": false,
2017-09-02 01:50:31 +00:00
"no-import-side-effect": [
true,
{
"ignore-module": "bootstrap/js/.*\\.js$"
}
],
"no-magic-numbers": false,
"no-namespace": false,
"no-non-null-assertion": false,
2019-07-06 16:49:19 +00:00
"no-null-keyword": false,
2017-09-02 01:50:31 +00:00
"no-parameter-properties": false,
"no-parameter-reassignment": false,
"no-string-literal": false,
"no-submodule-imports": [true, "lodash"],
2020-03-15 14:02:31 +00:00
"no-unnecessary-type-assertion": false,
2017-09-02 01:50:31 +00:00
"no-unused-variable": false,
"no-void-expression": false,
//covered by no-var-keyword and compiler
"no-use-before-declare": false,
//covered by no-require-imports
"no-var-requires": false,
"object-literal-sort-keys": false,
"object-literal-key-quotes": [
true,
"as-needed"
],
"one-variable-per-declaration": false,
"only-arrow-functions": [
true,
"allow-declarations"
],
2019-07-06 16:49:19 +00:00
"ordered-imports": false,
2017-09-02 01:50:31 +00:00
"prefer-function-over-method": [
true,
"allow-public"
],
"prefer-readonly": false,
2017-09-02 01:50:31 +00:00
"quotemark": [
true,
"single"
],
"return-undefined": false,
"semicolon": [
true,
"always",
"ignore-interfaces"
],
"space-before-function-paren": [
true,
"never"
],
2019-07-06 16:49:19 +00:00
"strict-boolean-expressions": false,
2020-03-14 21:24:49 +00:00
"strict-comparisons": false,
2017-09-02 01:50:31 +00:00
"switch-default": false,
2019-07-06 16:49:19 +00:00
"switch-final-break": false,
2017-09-02 01:50:31 +00:00
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"type-literal-delimiter": false,
"typedef": [
//enable this fully once inference is properly supported: https://github.com/palantir/tslint/issues/711
true,
"call-signature",
"parameter",
"property-declaration"
],
"variable-name": [
true,
"ban-keywords",
"allow-leading-underscore"
],
"whitespace": [
true,
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-preblock",
"check-type-operator",
"check-rest-spread"
],
"vue-props": true
2017-09-02 01:50:31 +00:00
},
"rulesDirectory": ["./tslint"]
}