Last active
September 18, 2019 06:00
-
-
Save bsy/ba6de160bc8ef6489b41e3ede1b22a37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": [ | |
"tslint:recommended", | |
"tslint-eslint-rules", | |
"tslint-config-prettier", | |
"tslint-jasmine-rules" | |
], | |
"rulesDirectory": [ | |
"node_modules/codelyzer", | |
"node_modules/@nrwl/workspace/src/tslint" | |
], | |
"rules": { | |
"deprecation": { | |
"severity": "warn" | |
}, | |
"linebreak-style": [true, "LF"], | |
"member-access": [true, "check-accessor"], | |
"member-ordering": [ | |
true, | |
{ | |
"order": "instance-sandwich" | |
} | |
], | |
"no-focused-tests": true, | |
"no-inferrable-types": [false, "ignore-params"], | |
"component-selector": [true, "element", "app", "kebab-case"], | |
"array-bracket-spacing": [true, "never"], | |
"object-curly-spacing": [true, "always"], | |
"max-classes-per-file": false, | |
"component-class-suffix": true, | |
"directive-class-suffix": true, | |
"directive-selector": [true, "attribute", "app", "camelCase"], | |
"import-destructuring-spacing": true, | |
"no-forward-ref": true, | |
"no-input-rename": true, | |
"no-output-on-prefix": true, | |
"no-output-rename": true, | |
"use-host-property-decorator": true, | |
"use-input-property-decorator": true, | |
"use-life-cycle-interface": true, | |
"use-output-property-decorator": true, | |
"use-pipe-transform-interface": true, | |
"no-non-null-assertion": true, | |
"no-switch-case-fall-through": true, | |
"jsdoc-format": false, | |
"one-line": [true, "check-open-brace"], | |
"align": false, | |
"import-blacklist": [true, "rxjs/Rx"], | |
"interface-name": false, | |
"no-bitwise": true, | |
"no-conditional-assignment": true, | |
"no-console": true, | |
"no-empty-interface": false, | |
"no-string-literal": false, | |
"object-literal-sort-keys": false, | |
"only-arrow-functions": [true, "allow-named-functions"], | |
"ordered-imports": [ | |
true, | |
{ | |
"grouped-imports": true, | |
"groups": [ | |
{ | |
"name": "shared_libraries", | |
"match": "^@todo", | |
"order": 20 | |
}, | |
{ | |
"name": "trading_app", | |
"match": "^@trading-app", | |
"order": 20 | |
}, | |
{ | |
"name": "portfolio_app", | |
"match": "^@portfolio-app", | |
"order": 20 | |
}, | |
{ | |
"name": "relative_paths", | |
"match": "^[.][.]?", | |
"order": 20 | |
}, | |
{ | |
"name": "scoped_paths", | |
"match": "^@", | |
"order": 10 | |
}, | |
{ | |
"name": "absolute_paths", | |
"match": "^[a-zA-Z]", | |
"order": 10 | |
}, | |
{ | |
"match": null, | |
"order": 10 | |
} | |
] | |
} | |
], | |
"prefer-for-of": true, | |
"prefer-object-spread": true, | |
"quotemark": [true, "single", "avoid-escape"], | |
"trailing-comma": [ | |
false, | |
{ | |
"multiline": "always", | |
"singleline": "never" | |
} | |
], | |
"variable-name": [ | |
true, | |
"allow-leading-underscore", | |
"allow-pascal-case", | |
"ban-keywords", | |
"check-format" | |
], | |
"nx-enforce-module-boundaries": [ | |
true, | |
{ | |
"allow": [], | |
"depConstraints": [ | |
{ | |
"sourceTag": "scope:shared", | |
"onlyDependOnLibsWithTags": ["scope:shared"] | |
}, | |
{ | |
"sourceTag": "scope:sales", | |
"onlyDependOnLibsWithTags": ["scope:sales", "scope:shared"] | |
}, | |
{ | |
"sourceTag": "scope:market-data", | |
"onlyDependOnLibsWithTags": ["scope:market-data", "scope:shared"] | |
}, | |
{ | |
"sourceTag": "type:util", | |
"onlyDependOnLibsWithTags": ["type:util"] | |
}, | |
{ | |
"sourceTag": "type:auth", | |
"onlyDependOnLibsWithTags": [ | |
"type:util", | |
"type:data-access", | |
"type:ui" | |
] | |
}, | |
{ | |
"sourceTag": "type:data-access", | |
"onlyDependOnLibsWithTags": [ | |
"type:data-access", | |
"type:util", | |
"type:interface" | |
] | |
}, | |
{ | |
"sourceTag": "type:ui", | |
"onlyDependOnLibsWithTags": [ | |
"type:ui", | |
"type:interface", | |
"type:util" | |
] | |
}, | |
{ | |
"sourceTag": "type:e2e", | |
"onlyDependOnLibsWithTags": ["type:e2e"] | |
} | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment