Commit a4c6c043 authored by Guillaume Perréal's avatar Guillaume Perréal

First version.

parent 34db8188
{
"name": "irstea-typescript-config",
"version": "1.0.0",
"description": "TSC and TSLint configuration.",
"keywords": [
"tslint",
"tsc",
"prettier"
],
"author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>",
"license": "MIT",
"main": "tslint.json",
"peerDependencies": {
"prettier": "^1.15.0",
"prettier-tslint": "^0.4.2",
"rxjs-tslint-rules": "^4.10",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.15.0",
"tslint-plugin-prettier": "^2.0.1"
}
}
{
"compileOnSave": false,
"compilerOptions": {
"sourceMap": true,
"inlineSourceMap": false,
"emitDecoratorMetadata": true,
"importHelpers": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noFallthroughCasesInSwitch": true,
"alwaysStrict": true
}
}
{
"extends": [
"tslint-defocus",
"rxjs-tslint-rules",
"tslint-config-prettier"
],
"rulesDirectory": [
"node_modules/codelyzer",
"tslint-plugin-prettier"
],
"rules": {
"arrow-return-shorthand": true,
"array-type": [
true,
"array-simple"
],
"callable-types": true,
"class-name": true,
"comment-format": {
"severity": "warning",
"options": [
"check-space"
]
},
"curly": true,
"deprecation": {
"severity": "warn"
},
"defocus": true,
"forin": true,
"interface-name": false,
"interface-over-type-literal": true,
"label-position": true,
"max-classes-per-file": false,
"member-access": true,
"member-ordering": {
"options": {
"order": [
"instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method",
"static-field",
"public-static-method",
"protected-static-method",
"private-static-method"
]
},
"severity": "warning"
},
"no-arg": true,
"no-bitwise": true,
"no-console": {
"severity": "warning",
"options": [
"log",
"debug",
"info",
"time",
"timeEnd",
"trace"
]
},
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-misused-new": true,
"no-non-null-assertion": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unnecessary-initializer": true,
"no-angle-bracket-type-assertion": false,
"no-unnecessary-type-assertion": {
"severity": "warning"
},
"no-unused-variable": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"ordered-imports": [
true,
{
"grouped-imports": true
}
],
"prefer-const": {
"severity": "warning"
},
"prefer-switch": {
"severity": "warning"
},
"prefer-template": {
"severity": "warning"
},
"prefer-while": {
"severity": "warning"
},
"prefer-readonly": {
"severity": "warning"
},
"radix": true,
"rxjs-no-create": true,
"rxjs-finnish": [
true,
{
"functions": false,
"methods": false
}
],
"rxjs-no-nested-subscribe": true,
"rxjs-no-internal": true,
"rxjs-no-unbound-methods": {
"severity": "warning"
},
"rxjs-prefer-async-pipe": {
"severity": "warning"
},
"rxjs-prefer-observer": {
"severity": "warning"
},
"rxjs-throw-error": {
"severity": "warning"
},
"triple-equals": [
true,
"allow-null-check"
],
"unified-signatures": true,
"variable-name": false,
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
],
"no-output-on-prefix": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"prettier": {
"severity": "warning"
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment