Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Update codelyzer

Chocobozzza563a494f010
diff --git a/client/package.json b/client/package.json
index 0638acaacd..db93ac6811 100644
--- a/client/package.json
+++ b/client/package.json
@@ -36,7 +36,7 @@
"zone.js": "0.6.12"
},
"devDependencies": {
- "codelyzer": "0.0.12",
+ "codelyzer": "0.0.18",
"tslint": "^3.7.4",
"typescript": "^1.8.10",
"typings": "^0.8.1"
diff --git a/client/tslint.json b/client/tslint.json
index 6a40b5b118..8e4e3fca13 100644
--- a/client/tslint.json
+++ b/client/tslint.json
@@ -1,5 +1,5 @@
{
- "rulesDirectory": ["./node_modules/codelyzer/dist/src"],
+ "rulesDirectory": ["./node_modules/codelyzer"],
"rules": {
"class-name": true,
"curly": false,
@@ -34,13 +34,23 @@
"triple-equals": true,
"variable-name": false,
+ "directive-selector-name": [true, "camelCase"],
"component-selector-name": [true, "kebab-case"],
+ "directive-selector-type": [true, "attribute"],
"component-selector-type": [true, "element"],
- "host-parameter-decorator": true,
- "input-parameter-decorator": true,
- "output-parameter-decorator": true,
- "attribute-parameter-decorator": true,
- "input-property-directive": true,
- "output-property-directive": true
+ "directive-selector-prefix": [true, "my"],
+ "component-selector-prefix": [true, "my"],
+ "use-input-property-decorator": true,
+ "use-output-property-decorator": true,
+ "use-host-property-decorator": true,
+ "no-attribute-parameter-decorator": true,
+ "no-input-rename": true,
+ "no-output-rename": true,
+ "no-forward-ref" :true,
+ "use-life-cycle-interface": true,
+ "use-pipe-transform-interface": true,
+ "pipe-naming": [true, "camelCase", "my"],
+ "component-class-suffix": true,
+ "directive-class-suffix": true
}
}