v6: Migrate from tslint to eslint (next branch)
Tslint is deprecated and we should migrate to eslint. V5 did not include eslint as it was too slow, but now we are seeing errors when running tslint... possibly not working.
Hey, I was looking into this issue and created a new branch already (with an MR pointing to my own fork)
I used an AI to convert the existing tslint config to eslint, so hopefully it kinda aligns with the setup you had before.
I noticed however that when running npm run lint there are quite some issues already. Mostly "formatting" related, probably partially caused by some different defaults, but also just some issues that tslint somehow didn't pick up.
There's 2 things I want to check
- Can you have a look at the new issues and help decide if we just want to fix these, or change the config to match the existing code format
- Would it be a good idea to make code formatting a responsibility of a tool like Prettier and only use eslint as static analysis tool to find problems? See discussions like this https://www.reddit.com/r/node/comments/w95n80/why_use_prettier_if_eslint_can_format/
New eslint issues
/Users/klaas/Developer/KCuvelier/carbon-components-angular/dist/esm2020/datepicker/carbon-flatpickr-month-select.mjs
46:13 warning Unused eslint-disable directive (no problems were reported from 'no-underscore-dangle')
/Users/klaas/Developer/KCuvelier/carbon-components-angular/dist/fesm2015/carbon-components-angular-datepicker.mjs
60:13 warning Unused eslint-disable directive (no problems were reported from 'no-underscore-dangle')
/Users/klaas/Developer/KCuvelier/carbon-components-angular/dist/fesm2020/carbon-components-angular-datepicker.mjs
60:13 warning Unused eslint-disable directive (no problems were reported from 'no-underscore-dangle')
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/checkbox/checkbox-exported-tests.ts
36:1 error Expected indentation of 4 tabs but found 5 indent
38:6 error Expected an assignment or function call and instead saw an expression no-unused-expressions
40:6 error Expected an assignment or function call and instead saw an expression no-unused-expressions
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/checkbox/checkbox.component.ts
148:22 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/checkbox/stories/reactive-form.component.ts
37:4 error Expected an assignment or function call and instead saw an expression no-unused-expressions
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/code-snippet/code-snippet.component.ts
73:1 error This line has a length of 164. Maximum allowed is 140 max-len
86:1 error This line has a length of 141. Maximum allowed is 140 max-len
243:1 error Expected indentation of 2 tabs but found 3 indent
244:1 error Expected indentation of 3 tabs but found 4 indent
245:1 error Expected indentation of 3 tabs but found 4 indent
246:1 error Expected indentation of 2 tabs but found 3 indent
247:1 error Expected indentation of 3 tabs but found 4 indent
248:1 error Expected indentation of 3 tabs but found 4 indent
249:1 error Expected indentation of 2 tabs but found 3 indent
250:1 error Expected indentation of 3 tabs but found 4 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/code-snippet/code-snippet.stories.ts
50:11 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/combobox/combobox.component.ts
601:21 error Statement inside of curly braces should be on next line brace-style
601:46 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
699:1 error Expected indentation of 2 tabs but found 8 spaces indent
700:1 error Expected indentation of 3 tabs but found 12 spaces indent
701:1 error Expected indentation of 3 tabs but found 12 spaces indent
702:1 error Expected indentation of 2 tabs but found 8 spaces indent
703:1 error Expected indentation of 3 tabs but found 12 spaces indent
704:1 error Expected indentation of 2 tabs but found 8 spaces indent
728:39 error Statement inside of curly braces should be on next line brace-style
728:49 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/contained-list/contained-list.component.spec.ts
53:18 error Unexpected space before function parentheses space-before-function-paren
118:1 error This line has a length of 149. Maximum allowed is 140 max-len
144:1 error This line has a length of 149. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/contained-list/contained-list.stories.ts
85:1 error This line has a length of 142. Maximum allowed is 140 max-len
218:33 error Statement inside of curly braces should be on next line brace-style
218:93 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/content-switcher/content-switcher-option.directive.ts
20:21 error Unexpected space before function parentheses space-before-function-paren
61:20 error Statement inside of curly braces should be on next line brace-style
61:30 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
70:20 error Statement inside of curly braces should be on next line brace-style
70:30 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/content-switcher/content-switcher.component.ts
93:1 error Expected indentation of 2 tabs but found 3 indent
94:1 error Expected indentation of 3 tabs but found 4 indent
95:1 error Expected indentation of 3 tabs but found 4 indent
96:1 error Expected indentation of 4 tabs but found 5 indent
97:1 error Expected indentation of 4 tabs but found 5 indent
98:1 error Expected indentation of 3 tabs but found 4 indent
99:1 error Expected indentation of 4 tabs but found 5 indent
100:1 error Expected indentation of 3 tabs but found 4 indent
101:1 error Expected indentation of 3 tabs but found 4 indent
103:1 error Expected indentation of 2 tabs but found 3 indent
104:1 error Expected indentation of 3 tabs but found 4 indent
105:1 error Expected indentation of 3 tabs but found 4 indent
106:1 error Expected indentation of 4 tabs but found 5 indent
107:1 error Expected indentation of 4 tabs but found 5 indent
108:1 error Expected indentation of 3 tabs but found 4 indent
109:1 error Expected indentation of 4 tabs but found 5 indent
110:1 error Expected indentation of 3 tabs but found 4 indent
111:1 error Expected indentation of 3 tabs but found 4 indent
113:1 error Expected indentation of 2 tabs but found 3 indent
114:1 error Expected indentation of 3 tabs but found 4 indent
115:1 error Expected indentation of 3 tabs but found 4 indent
116:1 error Expected indentation of 3 tabs but found 4 indent
118:1 error Expected indentation of 2 tabs but found 3 indent
119:1 error Expected indentation of 3 tabs but found 4 indent
120:1 error Expected indentation of 3 tabs but found 4 indent
121:1 error Expected indentation of 3 tabs but found 4 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/context-menu/context-menu-group.component.ts
24:68 error Statement inside of curly braces should be on next line brace-style
24:101 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
25:57 error Statement inside of curly braces should be on next line brace-style
25:92 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/context-menu/context-menu-item.component.ts
71:1 error Expected indentation of 2 tabs but found 3 indent
72:1 error Expected indentation of 3 tabs but found 4 indent
73:1 error Expected indentation of 3 tabs but found 4 indent
74:1 error Expected indentation of 3 tabs but found 4 indent
75:1 error Expected indentation of 2 tabs but found 3 indent
76:1 error Expected indentation of 2 tabs but found 3 indent
77:1 error Expected indentation of 3 tabs but found 4 indent
78:1 error Expected indentation of 3 tabs but found 4 indent
79:1 error Expected indentation of 3 tabs but found 4 indent
80:1 error Expected indentation of 2 tabs but found 3 indent
81:1 error Expected indentation of 2 tabs but found 3 indent
82:1 error Expected indentation of 3 tabs but found 4 indent
83:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/context-menu/context-menu.component.ts
39:62 error Statement inside of curly braces should be on next line brace-style
39:82 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
40:56 error Statement inside of curly braces should be on next line brace-style
40:76 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
43:51 error Statement inside of curly braces should be on next line brace-style
43:80 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
44:49 error Statement inside of curly braces should be on next line brace-style
44:77 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
76:1 error Expected indentation of 3 tabs but found 2 indent
81:1 error Expected indentation of 2 tabs but found 3 indent
82:1 error Expected indentation of 3 tabs but found 4 indent
83:1 error Expected indentation of 4 tabs but found 5 indent
84:1 error Expected indentation of 3 tabs but found 4 indent
85:1 error Expected indentation of 4 tabs but found 5 indent
86:1 error Expected indentation of 5 tabs but found 6 indent
87:1 error Expected indentation of 4 tabs but found 5 indent
88:1 error Expected indentation of 3 tabs but found 4 indent
89:1 error Expected indentation of 3 tabs but found 4 indent
90:1 error Expected indentation of 2 tabs but found 3 indent
91:1 error Expected indentation of 2 tabs but found 3 indent
92:1 error Expected indentation of 3 tabs but found 4 indent
93:1 error Expected indentation of 4 tabs but found 5 indent
94:1 error Expected indentation of 3 tabs but found 4 indent
95:1 error Expected indentation of 4 tabs but found 5 indent
96:1 error Expected indentation of 5 tabs but found 6 indent
97:1 error Expected indentation of 4 tabs but found 5 indent
98:1 error Expected indentation of 3 tabs but found 4 indent
99:1 error Expected indentation of 3 tabs but found 4 indent
100:1 error Expected indentation of 2 tabs but found 3 indent
101:1 error Expected indentation of 2 tabs but found 3 indent
102:1 error Expected indentation of 3 tabs but found 4 indent
103:1 error Expected indentation of 4 tabs but found 5 indent
104:1 error Expected indentation of 3 tabs but found 4 indent
105:1 error Expected indentation of 3 tabs but found 4 indent
106:1 error Expected indentation of 2 tabs but found 3 indent
107:1 error Expected indentation of 2 tabs but found 3 indent
108:1 error Expected indentation of 3 tabs but found 4 indent
109:1 error Expected indentation of 3 tabs but found 4 indent
110:1 error Expected indentation of 4 tabs but found 5 indent
111:1 error Expected indentation of 3 tabs but found 4 indent
112:1 error Expected indentation of 3 tabs but found 4 indent
113:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/datepicker/carbon-flatpickr-month-select.ts
24:26 error Strings must use doublequote quotes
25:14 error Strings must use doublequote quotes
26:17 error Strings must use doublequote quotes
27:13 error Strings must use doublequote quotes
28:16 error Strings must use doublequote quotes
29:12 error Strings must use doublequote quotes
30:16 error Strings must use doublequote quotes
31:23 error Strings must use doublequote quotes
44:26 error Statement inside of curly braces should be on next line brace-style
44:36 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
51:5 warning Unused eslint-disable directive (no problems were reported from 'no-underscore-dangle')
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/datepicker/datepicker.component.ts
422:34 error Statement inside of curly braces should be on next line brace-style
422:44 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
562:25 error Statement inside of curly braces should be on next line brace-style
562:35 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/dialog.component.ts
140:1 error Expected indentation of 4 tabs but found 3 indent
198:20 error Statement inside of curly braces should be on next line brace-style
198:56 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
208:1 error Expected indentation of 2 tabs but found 3 indent
209:1 error Expected indentation of 3 tabs but found 4 indent
210:1 error Expected indentation of 3 tabs but found 4 indent
211:1 error Expected indentation of 4 tabs but found 5 indent
212:1 error Expected indentation of 4 tabs but found 5 indent
213:1 error Expected indentation of 3 tabs but found 4 indent
214:1 error Expected indentation of 3 tabs but found 4 indent
215:1 error Expected indentation of 2 tabs but found 3 indent
216:1 error Expected indentation of 2 tabs but found 3 indent
217:1 error Expected indentation of 3 tabs but found 4 indent
218:1 error Expected indentation of 3 tabs but found 4 indent
219:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/dialog.directive.ts
265:40 error Statement inside of curly braces should be on next line brace-style
265:50 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
276:25 error Statement inside of curly braces should be on next line brace-style
276:35 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/dialog.service.ts
91:19 error Statement inside of curly braces should be on next line brace-style
91:29 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/overflow-menu/overflow-menu-option.component.ts
112:1 error Expected indentation of 4 tabs but found 0 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/overflow-menu/overflow-menu-pane.component.ts
86:1 error Expected indentation of 2 tabs but found 3 indent
87:1 error Expected indentation of 3 tabs but found 4 indent
88:1 error Expected indentation of 3 tabs but found 4 indent
89:1 error Expected indentation of 4 tabs but found 5 indent
90:1 error Expected indentation of 4 tabs but found 5 indent
91:1 error Expected indentation of 3 tabs but found 4 indent
92:1 error Expected indentation of 4 tabs but found 5 indent
93:1 error Expected indentation of 3 tabs but found 4 indent
94:1 error Expected indentation of 3 tabs but found 4 indent
96:1 error Expected indentation of 2 tabs but found 3 indent
97:1 error Expected indentation of 3 tabs but found 4 indent
98:1 error Expected indentation of 3 tabs but found 4 indent
99:1 error Expected indentation of 4 tabs but found 5 indent
100:1 error Expected indentation of 4 tabs but found 5 indent
101:1 error Expected indentation of 3 tabs but found 4 indent
102:1 error Expected indentation of 4 tabs but found 5 indent
103:1 error Expected indentation of 3 tabs but found 4 indent
104:1 error Expected indentation of 3 tabs but found 4 indent
106:1 error Expected indentation of 2 tabs but found 3 indent
107:1 error Expected indentation of 3 tabs but found 4 indent
108:1 error Expected indentation of 3 tabs but found 4 indent
109:1 error Expected indentation of 3 tabs but found 4 indent
111:1 error Expected indentation of 2 tabs but found 3 indent
112:1 error Expected indentation of 3 tabs but found 4 indent
113:1 error Expected indentation of 3 tabs but found 4 indent
114:1 error Expected indentation of 3 tabs but found 4 indent
116:1 error Expected indentation of 2 tabs but found 3 indent
117:1 error Expected indentation of 2 tabs but found 3 indent
118:1 error Expected indentation of 3 tabs but found 4 indent
119:1 error Expected indentation of 3 tabs but found 4 indent
120:1 error Expected indentation of 4 tabs but found 5 indent
121:1 error Expected indentation of 4 tabs but found 5 indent
122:1 error Expected indentation of 3 tabs but found 4 indent
123:1 error Expected indentation of 3 tabs but found 4 indent
124:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/overflow-menu/overflow-menu.directive.ts
95:1 error Expected indentation of 2 tabs but found 3 indent
96:1 error Expected indentation of 2 tabs but found 3 indent
97:1 error Expected indentation of 3 tabs but found 4 indent
98:1 error Expected indentation of 3 tabs but found 4 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dialog/overflow-menu/overflow-menu.stories.ts
23:1 error Expected indentation of 2 tabs but found 3 indent
68:23 error Statement inside of curly braces should be on next line brace-style
68:25 error Unexpected console statement no-console
68:50 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
73:23 error Statement inside of curly braces should be on next line brace-style
73:25 error Unexpected console statement no-console
73:51 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
92:1 error This line has a length of 150. Maximum allowed is 140 max-len
95:1 error This line has a length of 150. Maximum allowed is 140 max-len
115:23 error Statement inside of curly braces should be on next line brace-style
115:25 error Unexpected console statement no-console
115:50 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
120:23 error Statement inside of curly braces should be on next line brace-style
120:25 error Unexpected console statement no-console
120:51 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/abstract-dropdown-view.class.ts
25:61 error Statement inside of curly braces should be on next line brace-style
25:71 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
54:26 error Statement inside of curly braces should be on next line brace-style
54:36 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
58:28 error Statement inside of curly braces should be on next line brace-style
58:38 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
62:32 error Statement inside of curly braces should be on next line brace-style
62:42 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
66:26 error Statement inside of curly braces should be on next line brace-style
66:36 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
70:28 error Statement inside of curly braces should be on next line brace-style
70:38 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
74:32 error Statement inside of curly braces should be on next line brace-style
74:42 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
78:28 error Statement inside of curly braces should be on next line brace-style
78:38 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
82:29 error Statement inside of curly braces should be on next line brace-style
82:39 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
86:35 error Statement inside of curly braces should be on next line brace-style
86:45 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
90:34 error Statement inside of curly braces should be on next line brace-style
90:44 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/dropdown.component.ts
574:30 error Statement inside of curly braces should be on next line brace-style
574:40 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
586:14 error Statement inside of curly braces should be on next line brace-style
586:38 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
591:14 error Statement inside of curly braces should be on next line brace-style
591:38 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
656:32 error Statement inside of curly braces should be on next line brace-style
656:47 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
788:26 error Statement inside of curly braces should be on next line brace-style
788:36 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/dropdown.service.ts
79:27 error Statement inside of curly braces should be on next line brace-style
79:37 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/dropdowntools.ts
19:13 error Statement inside of curly braces should be on next line brace-style
19:26 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
38:17 error Statement inside of curly braces should be on next line brace-style
38:30 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/list/dropdown-list.component.spec.ts
11:12 error Strings must use doublequote quotes
25:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/list/dropdown-list.component.ts
303:19 error Statement inside of curly braces should be on next line brace-style
303:29 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
559:30 error Statement inside of curly braces should be on next line brace-style
559:60 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/dropdown/stories/app-reactive-forms.component.ts
51:24 error Statement inside of curly braces should be on next line brace-style
51:34 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/file-uploader/stories/drag-drop.component.ts
89:20 error Unexpected console statement no-console
100:7 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/file-uploader/stories/uploader-form.component.ts
56:7 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/file-uploader/stories/uploader.component.ts
49:7 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/grid/grid.directive.spec.ts
36:15 error Strings must use doublequote quotes
54:15 error Strings must use doublequote quotes
73:15 error Strings must use doublequote quotes
92:6 error Strings must use doublequote quotes
143:6 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/index.stories.ts
16:1 error This line has a length of 365. Maximum allowed is 140 max-len
17:1 error This line has a length of 384. Maximum allowed is 140 max-len
18:1 error This line has a length of 371. Maximum allowed is 140 max-len
22:1 error This line has a length of 171. Maximum allowed is 140 max-len
23:1 error This line has a length of 173. Maximum allowed is 140 max-len
26:1 error This line has a length of 161. Maximum allowed is 140 max-len
27:1 error This line has a length of 171. Maximum allowed is 140 max-len
28:1 error This line has a length of 168. Maximum allowed is 140 max-len
31:1 error This line has a length of 163. Maximum allowed is 140 max-len
32:1 error This line has a length of 176. Maximum allowed is 140 max-len
33:1 error This line has a length of 178. Maximum allowed is 140 max-len
36:1 error This line has a length of 158. Maximum allowed is 140 max-len
37:1 error This line has a length of 172. Maximum allowed is 140 max-len
38:1 error This line has a length of 164. Maximum allowed is 140 max-len
42:1 error This line has a length of 150. Maximum allowed is 140 max-len
43:1 error This line has a length of 150. Maximum allowed is 140 max-len
62:1 error This line has a length of 157. Maximum allowed is 140 max-len
63:1 error This line has a length of 153. Maximum allowed is 140 max-len
67:1 error This line has a length of 149. Maximum allowed is 140 max-len
68:1 error This line has a length of 146. Maximum allowed is 140 max-len
76:1 error This line has a length of 392. Maximum allowed is 140 max-len
77:1 error This line has a length of 394. Maximum allowed is 140 max-len
78:1 error This line has a length of 375. Maximum allowed is 140 max-len
81:1 error This line has a length of 384. Maximum allowed is 140 max-len
82:1 error This line has a length of 385. Maximum allowed is 140 max-len
83:1 error This line has a length of 370. Maximum allowed is 140 max-len
87:1 error This line has a length of 153. Maximum allowed is 140 max-len
88:1 error This line has a length of 152. Maximum allowed is 140 max-len
91:1 error This line has a length of 149. Maximum allowed is 140 max-len
92:1 error This line has a length of 161. Maximum allowed is 140 max-len
93:1 error This line has a length of 162. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/inline-loading/stories/inline.component.ts
27:1 error Expected indentation of 2 tabs but found 3 indent
28:1 error Expected indentation of 2 tabs but found 3 indent
29:1 error Expected indentation of 2 tabs but found 3 indent
30:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/input/label.component.ts
199:1 error Expected indentation of 2 tabs but found 1 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/layer/layer.spec.ts
8:12 error Strings must use doublequote quotes
54:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/layout/stack.spec.ts
8:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/link/link.spec.ts
8:12 error Strings must use doublequote quotes
14:12 error Strings must use doublequote quotes
20:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/list/list.directive.ts
28:20 error Statement inside of curly braces should be on next line brace-style
28:36 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
33:20 error Statement inside of curly braces should be on next line brace-style
33:36 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/modal/alert-modal.component.ts
108:27 error Statement inside of curly braces should be on next line brace-style
108:43 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/modal/modal.component.ts
44:1 error This line has a length of 142. Maximum allowed is 140 max-len
137:1 error This line has a length of 142. Maximum allowed is 140 max-len
197:1 error Expected indentation of 2 tabs but found 3 indent
198:1 error Expected indentation of 3 tabs but found 4 indent
199:1 error Expected indentation of 3 tabs but found 4 indent
200:1 error Expected indentation of 3 tabs but found 4 indent
201:1 error Expected indentation of 3 tabs but found 4 indent
202:1 error Expected indentation of 3 tabs but found 4 indent
203:1 error Expected indentation of 3 tabs but found 4 indent
204:1 error Expected indentation of 2 tabs but found 3 indent
206:1 error Expected indentation of 2 tabs but found 3 indent
207:1 error Expected indentation of 3 tabs but found 4 indent
208:1 error Expected indentation of 3 tabs but found 4 indent
209:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/modal/overlay.component.ts
51:52 error Statement inside of curly braces should be on next line brace-style
51:62 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/notification/actionable-notification.component.ts
87:79 error Statement inside of curly braces should be on next line brace-style
87:130 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
88:74 error Statement inside of curly braces should be on next line brace-style
88:122 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
89:72 error Statement inside of curly braces should be on next line brace-style
89:119 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
90:1 error This line has a length of 142. Maximum allowed is 140 max-len
90:85 error Statement inside of curly braces should be on next line brace-style
90:139 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
91:78 error Statement inside of curly braces should be on next line brace-style
91:128 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
92:78 error Statement inside of curly braces should be on next line brace-style
92:128 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
93:1 error This line has a length of 142. Maximum allowed is 140 max-len
93:85 error Statement inside of curly braces should be on next line brace-style
93:139 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
94:87 error Statement inside of curly braces should be on next line brace-style
94:130 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
95:92 error Statement inside of curly braces should be on next line brace-style
95:135 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/notification/notification.component.ts
67:70 error Statement inside of curly braces should be on next line brace-style
67:118 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
68:68 error Statement inside of curly braces should be on next line brace-style
68:115 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
69:81 error Statement inside of curly braces should be on next line brace-style
69:135 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
70:74 error Statement inside of curly braces should be on next line brace-style
70:124 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
71:74 error Statement inside of curly braces should be on next line brace-style
71:124 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
72:81 error Statement inside of curly braces should be on next line brace-style
72:135 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
73:83 error Statement inside of curly braces should be on next line brace-style
73:126 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
74:88 error Statement inside of curly braces should be on next line brace-style
74:130 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/notification/notification.service.ts
176:1 error Expected indentation of 2 tabs but found 3 indent
177:1 error Expected indentation of 2 tabs but found 3 indent
178:1 error Expected indentation of 2 tabs but found 3 indent
179:1 error Expected indentation of 2 tabs but found 3 indent
180:1 error Expected indentation of 3 tabs but found 4 indent
181:1 error Expected indentation of 2 tabs but found 3 indent
182:1 error Expected indentation of 2 tabs but found 3 indent
183:1 error Expected indentation of 3 tabs but found 4 indent
184:1 error Expected indentation of 3 tabs but found 4 indent
185:1 error Expected indentation of 2 tabs but found 3 indent
186:1 error Expected indentation of 2 tabs but found 3 indent
187:1 error Expected indentation of 2 tabs but found 3 indent
188:1 error Expected indentation of 3 tabs but found 4 indent
189:1 error Expected indentation of 3 tabs but found 4 indent
190:1 error Expected indentation of 2 tabs but found 3 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/notification/toast.component.ts
67:69 error Statement inside of curly braces should be on next line brace-style
67:117 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
68:67 error Statement inside of curly braces should be on next line brace-style
68:114 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
69:80 error Statement inside of curly braces should be on next line brace-style
69:134 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
70:73 error Statement inside of curly braces should be on next line brace-style
70:123 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
71:73 error Statement inside of curly braces should be on next line brace-style
71:123 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
72:80 error Statement inside of curly braces should be on next line brace-style
72:134 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
73:82 error Statement inside of curly braces should be on next line brace-style
73:125 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
74:87 error Statement inside of curly braces should be on next line brace-style
74:129 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/pagination/pagination-nav/stories/pagination-nav-story.component.ts
40:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/pagination/pagination.component.ts
96:1 error This line has a length of 177. Maximum allowed is 140 max-len
99:1 error This line has a length of 176. Maximum allowed is 140 max-len
102:1 error This line has a length of 152. Maximum allowed is 140 max-len
137:1 error This line has a length of 142. Maximum allowed is 140 max-len
239:18 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/pagination/stories/pagination.component.ts
44:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/patterns/loading/large-loading.stories.ts
37:1 error This line has a length of 144. Maximum allowed is 140 max-len
49:1 error This line has a length of 144. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/placeholder/placeholder.component.ts
22:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/popover/popover.directive.ts
53:1 error Expected indentation of 2 tabs but found 3 indent
54:1 error Expected indentation of 3 tabs but found 4 indent
55:1 error Expected indentation of 3 tabs but found 4 indent
56:1 error Expected indentation of 2 tabs but found 3 indent
57:1 error Expected indentation of 3 tabs but found 4 indent
58:1 error Expected indentation of 3 tabs but found 4 indent
59:1 error Expected indentation of 2 tabs but found 3 indent
60:1 error Expected indentation of 3 tabs but found 4 indent
61:1 error Expected indentation of 3 tabs but found 4 indent
62:1 error Expected indentation of 2 tabs but found 3 indent
63:1 error Expected indentation of 3 tabs but found 4 indent
64:1 error Expected indentation of 3 tabs but found 4 indent
65:1 error Expected indentation of 2 tabs but found 3 indent
66:1 error Expected indentation of 3 tabs but found 4 indent
67:1 error Expected indentation of 3 tabs but found 4 indent
68:1 error Expected indentation of 2 tabs but found 3 indent
69:1 error Expected indentation of 3 tabs but found 4 indent
70:1 error Expected indentation of 3 tabs but found 4 indent
71:1 error Expected indentation of 2 tabs but found 3 indent
72:1 error Expected indentation of 3 tabs but found 4 indent
73:1 error Expected indentation of 3 tabs but found 4 indent
74:1 error Expected indentation of 2 tabs but found 3 indent
75:1 error Expected indentation of 3 tabs but found 4 indent
76:1 error Expected indentation of 3 tabs but found 4 indent
77:1 error Expected indentation of 2 tabs but found 3 indent
78:1 error Expected indentation of 3 tabs but found 4 indent
79:1 error Expected indentation of 3 tabs but found 4 indent
156:1 error This line has a length of 146. Maximum allowed is 140 max-len
157:1 error This line has a length of 145. Maximum allowed is 140 max-len
187:38 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/popover/popover.stories.ts
143:1 error This line has a length of 143. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/search/search.component.spec.ts
26:1 error Expected indentation of 3 tabs but found 2 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/select/optgroup.directive.ts
5:12 error The selector should be used as an attribute (https://angular.dev/style-guide#style-02-06) @angular-eslint/directive-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/select/option.directive.ts
5:12 error The selector should be used as an attribute (https://angular.dev/style-guide#style-02-06) @angular-eslint/directive-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/select/select.component.spec.ts
60:15 error Strings must use doublequote quotes
71:15 error Strings must use doublequote quotes
82:15 error Strings must use doublequote quotes
107:15 error Strings must use doublequote quotes
119:15 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/slider/slider.component.ts
171:11 error Statement inside of curly braces should be on next line brace-style
171:21 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
181:11 error Statement inside of curly braces should be on next line brace-style
181:21 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
401:1 error This line has a length of 145. Maximum allowed is 140 max-len
476:39 error Statement inside of curly braces should be on next line brace-style
476:49 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
499:60 error Statement inside of curly braces should be on next line brace-style
499:70 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
534:39 error Statement inside of curly braces should be on next line brace-style
534:49 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/structured-list/structured-list.component.ts
169:19 error Statement inside of curly braces should be on next line brace-style
169:29 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/body/table-body.component.ts
14:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/body/table-expanded-row.component.ts
9:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/body/table-row.component.ts
17:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/cell/table-checkbox.component.ts
15:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/cell/table-data.component.ts
9:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/cell/table-expand-button.component.ts
13:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/cell/table-radio.component.ts
15:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/data-grid-interaction-model.class.ts
158:1 error Expected indentation of 2 tabs but found 3 indent
159:1 error Expected indentation of 3 tabs but found 4 indent
160:1 error Expected indentation of 3 tabs but found 4 indent
161:1 error Expected indentation of 3 tabs but found 4 indent
162:1 error Expected indentation of 3 tabs but found 4 indent
163:1 error Expected indentation of 3 tabs but found 4 indent
164:1 error Expected indentation of 3 tabs but found 4 indent
165:1 error Expected indentation of 2 tabs but found 3 indent
166:1 error Expected indentation of 3 tabs but found 4 indent
167:1 error Expected indentation of 3 tabs but found 4 indent
168:1 error Expected indentation of 3 tabs but found 4 indent
169:1 error Expected indentation of 3 tabs but found 4 indent
170:1 error Expected indentation of 3 tabs but found 4 indent
171:1 error Expected indentation of 2 tabs but found 3 indent
172:1 error Expected indentation of 3 tabs but found 4 indent
173:1 error Expected indentation of 3 tabs but found 4 indent
174:1 error Expected indentation of 3 tabs but found 4 indent
175:1 error Expected indentation of 2 tabs but found 3 indent
176:1 error Expected indentation of 3 tabs but found 4 indent
177:1 error Expected indentation of 3 tabs but found 4 indent
178:1 error Expected indentation of 3 tabs but found 4 indent
179:1 error Expected indentation of 2 tabs but found 3 indent
180:1 error Expected indentation of 3 tabs but found 4 indent
181:1 error Expected indentation of 3 tabs but found 4 indent
182:1 error Expected indentation of 4 tabs but found 5 indent
183:1 error Expected indentation of 3 tabs but found 4 indent
184:1 error Expected indentation of 4 tabs but found 5 indent
185:1 error Expected indentation of 3 tabs but found 4 indent
186:1 error Expected indentation of 3 tabs but found 4 indent
187:1 error Expected indentation of 2 tabs but found 3 indent
188:1 error Expected indentation of 3 tabs but found 4 indent
189:1 error Expected indentation of 3 tabs but found 4 indent
190:1 error Expected indentation of 4 tabs but found 5 indent
191:1 error Expected indentation of 3 tabs but found 4 indent
192:1 error Expected indentation of 4 tabs but found 5 indent
193:1 error Expected indentation of 3 tabs but found 4 indent
194:1 error Expected indentation of 3 tabs but found 4 indent
215:45 error Statement inside of curly braces should be on next line brace-style
215:55 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
225:42 error Statement inside of curly braces should be on next line brace-style
225:52 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/head/table-head-cell.component.ts
16:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/head/table-head-checkbox.component.ts
13:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/head/table-head-expand.component.ts
13:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/head/table-head.component.ts
26:12 error The selector should be used as an element (https://angular.dev/style-guide#style-05-03) @angular-eslint/component-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-custom-table.component.ts
76:1 error This line has a length of 143. Maximum allowed is 140 max-len
78:1 error This line has a length of 148. Maximum allowed is 140 max-len
118:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-expansion-table.component.ts
106:1 error This line has a length of 148. Maximum allowed is 140 max-len
126:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-function-override-filter-table.component.ts
166:3 error Missing semicolon semi
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-model-filter-table.component.ts
168:3 error Missing semicolon semi
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-overflow-table.component.ts
74:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-pagination-table.component.ts
115:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/stories/app-table.component.ts
58:52 error Unexpected console statement no-console
59:49 error Unexpected console statement no-console
83:3 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/table-adapter.class.ts
41:39 error Statement inside of curly braces should be on next line brace-style
41:49 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
46:36 error Statement inside of curly braces should be on next line brace-style
46:46 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
54:57 error Statement inside of curly braces should be on next line brace-style
54:67 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
61:48 error Statement inside of curly braces should be on next line brace-style
61:58 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
68:39 error Statement inside of curly braces should be on next line brace-style
68:49 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
75:50 error Statement inside of curly braces should be on next line brace-style
75:60 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
82:47 error Statement inside of curly braces should be on next line brace-style
82:57 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
90:54 error Statement inside of curly braces should be on next line brace-style
90:64 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
212:25 error Statement inside of curly braces should be on next line brace-style
212:34 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
246:20 error Statement inside of curly braces should be on next line brace-style
246:29 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
305:25 error Statement inside of curly braces should be on next line brace-style
305:34 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/table-container.component.ts
13:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/table-model.class.ts
575:1 error Expected indentation of 2 tabs but found 3 indent
576:1 error Expected indentation of 3 tabs but found 4 indent
577:1 error Expected indentation of 3 tabs but found 4 indent
578:1 error Expected indentation of 2 tabs but found 3 indent
579:1 error Expected indentation of 3 tabs but found 4 indent
580:1 error Expected indentation of 3 tabs but found 4 indent
581:1 error Expected indentation of 2 tabs but found 3 indent
582:1 error Expected indentation of 3 tabs but found 4 indent
583:1 error Expected indentation of 3 tabs but found 4 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/table.component.ts
698:53 error Statement inside of curly braces should be on next line brace-style
698:63 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/table.directive.ts
24:65 error Statement inside of curly braces should be on next line brace-style
24:94 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
25:60 error Statement inside of curly braces should be on next line brace-style
25:89 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
26:61 error Statement inside of curly braces should be on next line brace-style
26:90 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
27:60 error Statement inside of curly braces should be on next line brace-style
27:89 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
28:65 error Statement inside of curly braces should be on next line brace-style
28:94 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/table.stories.ts
286:5 error Unexpected console statement no-console
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/toolbar/table-toolbar-actions.component.ts
5:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/toolbar/table-toolbar-content.component.ts
5:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/table/toolbar/table-toolbar.component.ts
88:24 error Unexpected space before function parentheses space-before-function-paren
97:24 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tabs/tab-headers.component.ts
124:9 error Input bindings should not be aliased (https://angular.dev/style-guide#style-05-13) @angular-eslint/no-input-rename
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/theme/theme.spec.ts
9:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tiles/clickable-tile.component.spec.ts
1:1 error Expected space or tab after '//' in comment spaced-comment
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tiles/expandable-tile.component.ts
143:1 error This line has a length of 143. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tiles/selection-tile.component.ts
36:1 error This line has a length of 147. Maximum allowed is 140 max-len
99:1 error Expected indentation of 1 tab but found 6 indent
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tiles/tile-group.component.ts
129:29 error Statement inside of curly braces should be on next line brace-style
129:39 error Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tiles/tile.component.spec.ts
1:1 error Expected space or tab after '//' in comment spaced-comment
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tiles/tile.component.ts
24:12 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/timepicker-select/timepicker-select.component.spec.ts
61:15 error Strings must use doublequote quotes
72:15 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/timepicker/timepicker.component.spec.ts
89:15 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/toggle/toggle.component.ts
156:63 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/toggletip/toggletip.stories.ts
132:1 error This line has a length of 143. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tooltip/definition-tooptip.component.ts
44:1 error This line has a length of 167. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tooltip/tooltip.component.ts
44:1 error This line has a length of 171. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/tooltip/tooltip.stories.ts
154:1 error This line has a length of 143. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/treeview/treeview.component.spec.ts
60:18 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/treeview/treeview.component.ts
140:24 error Unexpected space before function parentheses space-before-function-paren
141:33 error Strings must use doublequote quotes
144:22 error Strings must use doublequote quotes
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/ui-shell/sidenav/routerlink-extended.directive.ts
7:12 error The selector should start with one of these prefixes: "ibm", "cds", "app" or "test" (https://angular.dev/style-guide#style-02-08) @angular-eslint/directive-selector
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/ui-shell/sidenav/side-nav.component.spec.ts
61:1 error Expected indentation of 4 tabs but found 5 indent
62:1 error Expected indentation of 5 tabs but found 6 indent
63:1 error Expected indentation of 5 tabs but found 6 indent
64:1 error Expected indentation of 4 tabs but found 5 indent
83:105 error Unexpected space before function parentheses space-before-function-paren
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/ui-shell/sidenav/sidenav.component.ts
60:1 error This line has a length of 142. Maximum allowed is 140 max-len
/Users/klaas/Developer/KCuvelier/carbon-components-angular/src/utils/event-observable.ts
5:1 error Expected indentation of 1 tab but found 2 indent
6:1 error Expected indentation of 1 tab but found 2 indent
7:1 error Expected indentation of 1 tab but found 2 indent
8:1 error Expected indentation of 1 tab but found 2 indent
9:1 error Expected indentation of 1 tab but found 2 indent
10:1 error Expected indentation of 2 tabs but found 3 indent
11:1 error Expected indentation of 1 tab but found 2 indent
12:1 error Expected indentation of 2 tabs but found 3 indent
✖ 614 problems (610 errors, 4 warnings)
511 errors and 4 warnings potentially fixable with the `--fix` option.
Hey, thanks for this!!
I took a look at your branch and ran it locally, it seems good to me! Ideally, we want to match to existing format. You should create a PR and we can look to resolve rules/issues like indenting switch statements, ignoring specific files, line sizes, etc.
In regards to prettier, we don't want to have an opinionated code formatter as of now, but if needed down the line, we can add it.
Created a PR to the next branch with basic implementation. Will do some more updates asap (like removing empty lines in at start of file where the tslint-disable was removed).
The current config leaves ~100 errors, most of which are max-length issues and some other small things and a couple of warnings, which I guess we can either leave for now or change the config to ignore them.
Let me know how you'd further like to approach this. :)
For the future I think it would be a good idea to stay as close as possible to "recommended" configs and have as little as possible "custom" settings, but this will result in breaking changes (like the no on in outputs or native output)
(Happy New Year btw 😉 🎉)
:tada: This issue has been resolved in version 6.0.0-rc.14 :tada:
The release is available on:
Your semantic-release bot :package::rocket: