Commit 87beedc
Decyjphr/pr 683 (#721)
* fix: update eslint ecmaVersion to 13
Linting failed in deploymentConfig.js due to the static fields. Eslint supports this from ecmaVersion 13.
* reapply eslint to tests, still supporting jest
The full test suite failed because it tried to lint the tests, while the running linter did not do the same. Enabling linting gave errors due to jest having undef stuff, but overriding these files for jest env keeps the linting without these errors.
* removed unused vars in index.js
Removed to stop having eslint errors.
* fix eslint errors, except environments
Updated with `npx standard --fix`.
Skipping environments.js and environments.test.js as they had a lot of
errors, handling those in a separate commit.
* fix eslint errors for environments
Updated with `npx standard --fix`.
* fix eslint casing errors for environments
This was done manually as no autofix was available.
* Enteprise sourcetype rulesets should not be handled at the org level
* Securtiy manager teams should not be handled as other teams
---------
Co-authored-by: Torgeir S <[email protected]>1 parent c1bc922 commit 87beedc
File tree
17 files changed
+946
-911
lines changed- lib
- plugins
- test/unit
- lib
- plugins
17 files changed
+946
-911
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
| 102 | + | |
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
| |||
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
220 | | - | |
| 218 | + | |
221 | 219 | | |
222 | 220 | | |
223 | 221 | | |
| |||
227 | 225 | | |
228 | 226 | | |
229 | 227 | | |
230 | | - | |
231 | 228 | | |
232 | 229 | | |
233 | 230 | | |
234 | 231 | | |
235 | 232 | | |
236 | | - | |
237 | 233 | | |
238 | 234 | | |
239 | 235 | | |
| |||
395 | 391 | | |
396 | 392 | | |
397 | 393 | | |
398 | | - | |
399 | | - | |
| 394 | + | |
| 395 | + | |
400 | 396 | | |
401 | 397 | | |
402 | 398 | | |
| |||
414 | 410 | | |
415 | 411 | | |
416 | 412 | | |
417 | | - | |
| 413 | + | |
418 | 414 | | |
419 | 415 | | |
420 | 416 | | |
| |||
439 | 435 | | |
440 | 436 | | |
441 | 437 | | |
442 | | - | |
| 438 | + | |
443 | 439 | | |
444 | 440 | | |
445 | 441 | | |
446 | | - | |
447 | | - | |
| 442 | + | |
| 443 | + | |
448 | 444 | | |
449 | 445 | | |
450 | 446 | | |
| |||
455 | 451 | | |
456 | 452 | | |
457 | 453 | | |
458 | | - | |
459 | | - | |
| 454 | + | |
460 | 455 | | |
461 | 456 | | |
462 | | - | |
463 | | - | |
| 457 | + | |
| 458 | + | |
464 | 459 | | |
465 | 460 | | |
466 | | - | |
467 | | - | |
| 461 | + | |
468 | 462 | | |
469 | 463 | | |
470 | 464 | | |
471 | | - | |
472 | | - | |
| 465 | + | |
| 466 | + | |
473 | 467 | | |
474 | 468 | | |
475 | 469 | | |
476 | 470 | | |
477 | | - | |
478 | 471 | | |
479 | 472 | | |
480 | 473 | | |
| |||
663 | 656 | | |
664 | 657 | | |
665 | 658 | | |
666 | | - | |
| 659 | + | |
667 | 660 | | |
668 | 661 | | |
669 | 662 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
39 | 21 | | |
40 | 22 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
47 | 37 | | |
| 38 | + | |
| 39 | + | |
48 | 40 | | |
49 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
50 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
0 commit comments