Commit b5d7fa4
authored
Tweak eslint rules (#594)
* Remove unneeded disabling of no-inner-declarations
No reason to have this turned off; we don't violate the rule anywhere and I don't think I've ever worked on a codebase that did violate it tbh
* Tweak comment to explain why no-unused-expressions needs disabling in tests
* Remove lines setting rules to 0 - they don't do anything
Maybe in an old version of eslint, these disabled on-by-default rules, but there ARE no on-by-default rules in the latest version of eslint, so these lines have no effect. Seems like deleting them all simplifies the config.
* Remove more unnecessary setting of rules to 0, and a couple of stray console.log lines1 parent 590f4f2 commit b5d7fa4
3 files changed
+2
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
56 | 50 | | |
57 | | - | |
58 | 51 | | |
59 | 52 | | |
60 | 53 | | |
61 | 54 | | |
62 | | - | |
63 | | - | |
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
| |||
70 | 61 | | |
71 | 62 | | |
72 | 63 | | |
73 | | - | |
74 | 64 | | |
75 | 65 | | |
76 | 66 | | |
| |||
79 | 69 | | |
80 | 70 | | |
81 | 71 | | |
82 | | - | |
83 | 72 | | |
84 | 73 | | |
85 | 74 | | |
| |||
89 | 78 | | |
90 | 79 | | |
91 | 80 | | |
92 | | - | |
93 | 81 | | |
94 | 82 | | |
95 | 83 | | |
96 | | - | |
97 | 84 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 85 | | |
104 | 86 | | |
105 | 87 | | |
106 | 88 | | |
107 | 89 | | |
108 | 90 | | |
109 | | - | |
110 | | - | |
111 | 91 | | |
112 | 92 | | |
113 | | - | |
114 | 93 | | |
115 | 94 | | |
116 | 95 | | |
| |||
121 | 100 | | |
122 | 101 | | |
123 | 102 | | |
124 | | - | |
125 | 103 | | |
126 | 104 | | |
127 | 105 | | |
128 | | - | |
129 | 106 | | |
130 | 107 | | |
131 | 108 | | |
| |||
140 | 117 | | |
141 | 118 | | |
142 | 119 | | |
143 | | - | |
144 | 120 | | |
145 | 121 | | |
146 | 122 | | |
147 | 123 | | |
148 | 124 | | |
149 | 125 | | |
150 | 126 | | |
151 | | - | |
152 | 127 | | |
153 | 128 | | |
154 | | - | |
155 | 129 | | |
156 | | - | |
157 | | - | |
158 | 130 | | |
159 | 131 | | |
160 | | - | |
161 | 132 | | |
162 | 133 | | |
163 | 134 | | |
164 | | - | |
165 | 135 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | 136 | | |
171 | 137 | | |
172 | 138 | | |
| |||
180 | 146 | | |
181 | 147 | | |
182 | 148 | | |
183 | | - | |
184 | 149 | | |
185 | 150 | | |
186 | 151 | | |
187 | 152 | | |
188 | 153 | | |
189 | 154 | | |
190 | 155 | | |
191 | | - | |
192 | 156 | | |
193 | 157 | | |
194 | 158 | | |
| |||
206 | 170 | | |
207 | 171 | | |
208 | 172 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 173 | + | |
212 | 174 | | |
213 | 175 | | |
214 | 176 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments