diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
commit | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch) | |
tree | fa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/.eslintrc.json | |
parent | 25ea1d85e155382367d11036617848fe69a1e6a4 (diff) | |
download | PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.gz PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.zst PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.zip |
Fix lint
Diffstat (limited to 'client/.eslintrc.json')
-rw-r--r-- | client/.eslintrc.json | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/.eslintrc.json b/client/.eslintrc.json index f7b207b58..a297cdc94 100644 --- a/client/.eslintrc.json +++ b/client/.eslintrc.json | |||
@@ -18,8 +18,7 @@ | |||
18 | }, | 18 | }, |
19 | "extends": [ | 19 | "extends": [ |
20 | "../.eslintrc.json", | 20 | "../.eslintrc.json", |
21 | "plugin:@angular-eslint/ng-cli-compat", | 21 | "plugin:@angular-eslint/recommended", |
22 | "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", | ||
23 | "plugin:@angular-eslint/template/process-inline-templates" | 22 | "plugin:@angular-eslint/template/process-inline-templates" |
24 | ], | 23 | ], |
25 | "rules": { | 24 | "rules": { |
@@ -155,6 +154,10 @@ | |||
155 | "object-shorthand": [ | 154 | "object-shorthand": [ |
156 | "error", | 155 | "error", |
157 | "properties" | 156 | "properties" |
157 | ], | ||
158 | "quote-props": [ | ||
159 | "error", | ||
160 | "consistent-as-needed" | ||
158 | ] | 161 | ] |
159 | } | 162 | } |
160 | }, | 163 | }, |
@@ -163,7 +166,8 @@ | |||
163 | "*.html" | 166 | "*.html" |
164 | ], | 167 | ], |
165 | "extends": [ | 168 | "extends": [ |
166 | "plugin:@angular-eslint/template/recommended" | 169 | "plugin:@angular-eslint/template/recommended", |
170 | "plugin:@angular-eslint/template/accessibility" | ||
167 | ], | 171 | ], |
168 | "rules": {} | 172 | "rules": {} |
169 | } | 173 | } |