Last active
August 4, 2017 20:14
-
-
Save OlehRovenskyi/afc1ad581a67f16c413957c86b25c6b5 to your computer and use it in GitHub Desktop.
t
This file contains 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
{ | |
"compilerOptions": { | |
"target": "es5", | |
"module": "commonjs", | |
"moduleResolution": "node", | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"allowSyntheticDefaultImports": true, | |
"sourceMap": true, | |
"noEmit": true, | |
"noEmitHelpers": true, | |
"importHelpers": true, | |
"strictNullChecks": false, | |
"lib": [ | |
"dom", | |
"es6" | |
], | |
"typeRoots": [ | |
"node_modules/@types" | |
], | |
"types": [ | |
"hammerjs", | |
"jasmine", | |
"node", | |
"source-map", | |
"uglify-js", | |
"webpack" | |
] | |
}, | |
"exclude": [ | |
"node_modules", | |
"dist" | |
], | |
"awesomeTypescriptLoaderOptions": { | |
"forkChecker": true, | |
"useWebpackText": true | |
}, | |
"compileOnSave": false, | |
"buildOnSave": false, | |
"atom": { | |
"rewriteTsconfig": false | |
} | |
} |
This file contains 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" | |
], | |
"rulesDirectory": [ | |
"node_modules/codelyzer" | |
], | |
"rules": { | |
// Custom | |
"trailing-comma": [ | |
false, | |
{ | |
"multiline": "always", | |
"singleline": "never" | |
} | |
], | |
"interface-name": [ | |
false, | |
"always-prefix" | |
], | |
// Angular 2 | |
"component-class-suffix": false, | |
"directive-class-suffix": false, | |
// "directive-selector": [true, "attribute", [], "camelCase"], | |
// "component-selector": [true, "element", [], "kebab-case"], | |
"directive-selector": [true, "attribute", "cr", "kebab-case"], | |
"component-selector": [true, "element", "cr", "kebab-case"], | |
"import-destructuring-spacing": true, | |
"invoke-injectable": true, | |
"no-access-missing-member": true, | |
"no-attribute-parameter-decorator": true, | |
"no-forward-ref": true, | |
"no-input-rename": true, | |
"no-output-rename": true, | |
"pipe-naming": [ | |
true, | |
"camelCase", | |
"my" | |
], | |
"templates-use-public": 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-empty": false, | |
// General | |
"no-console": [ | |
true, | |
"time", | |
"timeEnd", | |
"trace" | |
], | |
"indent": [ | |
false, | |
"spaces" | |
], | |
"member-ordering": [true, | |
"public-before-private", | |
"static-before-instance", | |
"variables-before-functions" | |
], | |
"member-access": false, | |
"triple-equals": true, | |
"no-string-literal": false, | |
"no-use-before-declare": true, | |
"object-literal-sort-keys": false, | |
"ordered-imports": false, | |
"quotemark": [ | |
true, | |
"single", | |
"avoid-escape" | |
], | |
"variable-name": [ | |
true, | |
"allow-leading-underscore", | |
"allow-pascal-case", | |
"ban-keywords", | |
"check-format" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment