123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- {
- "rulesDirectory": ["tslint-plugin-prettier"],
- "rules": {
- "prettier": [true, { "singleQuote": true }],
- "align": [true, "parameters", "statements"],
- "await-promise": true,
- "ban": [
- true,
- ["_", "forEach"],
- ["_", "each"],
- ["$", "each"],
- ["angular", "forEach"]
- ],
- "class-name": true,
- "comment-format": [true, "check-space"],
- "curly": true,
- "eofline": true,
- "forin": false,
- "indent": [true, "spaces", 2],
- "interface-name": [true, "always-prefix"],
- "jsdoc-format": true,
- "label-position": true,
- "max-line-length": [false],
- "member-access": false,
- "member-ordering": [false],
- "new-parens": true,
- "no-angle-bracket-type-assertion": true,
- "no-any": false,
- "no-arg": true,
- "no-bitwise": true,
- "no-conditional-assignment": true,
- "no-consecutive-blank-lines": false,
- "no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
- "no-construct": true,
- "no-debugger": true,
- "no-default-export": false,
- "no-duplicate-variable": true,
- "no-empty": true,
- "no-eval": true,
- "no-floating-promises": true,
- "no-inferrable-types": false,
- "no-internal-module": true,
- "no-invalid-this": [true, "check-function-in-method"],
- "no-null-keyword": false,
- "no-reference": true,
- "no-require-imports": false,
- "no-shadowed-variable": false,
- "no-string-literal": false,
- "no-switch-case-fall-through": true,
- "no-trailing-whitespace": true,
- "no-use-before-declare": false,
- "no-var-keyword": true,
- "no-var-requires": true,
- "object-literal-sort-keys": false,
- "one-line": [
- true,
- "check-open-brace",
- "check-catch",
- "check-else",
- "check-finally",
- "check-whitespace"
- ],
- "one-variable-per-declaration": [true, "ignore-for-loop"],
- "quotemark": {
- "options": [true, "single", "avoid-escape"],
- "severity": "off"
- },
- "radix": true,
- "semicolon": [true, "always", "ignore-bound-class-methods"],
- "switch-default": true,
- "trailing-comma": [
- false,
- {
- "multiline": "never",
- "singleline": "never"
- }
- ],
- "triple-equals": [true, "allow-null-check", "allow-undefined-check"],
- "typedef": [false],
- "typedef-whitespace": [
- false,
- {
- "call-signature": "nospace",
- "index-signature": "nospace",
- "parameter": "nospace",
- "property-declaration": "nospace",
- "variable-declaration": "nospace"
- },
- {
- "call-signature": "space",
- "index-signature": "space",
- "parameter": "space",
- "property-declaration": "space",
- "variable-declaration": "space"
- }
- ],
- "use-isnan": true,
- "use-strict": [false],
- "variable-name": [
- true,
- "check-format",
- "allow-leading-underscore",
- "ban-keywords",
- "allow-pascal-case"
- ],
- "whitespace": [
- true,
- "check-branch",
- "check-operator",
- "check-separator",
- "check-type"
- ]
- },
- "linterOptions": {
- "exclude": [
- "**/*.d.ts",
- "jupyterlab/**/*.ts",
- "packages/ui-components/src/icon/iconimports.ts",
- "node_modules/**/*.ts",
- "node_modules/**/*.tsx",
- ".idea/",
- ".history/",
- ".vscode/"
- ]
- }
- }
|