Commit Graph

113 Commits

Author SHA1 Message Date
Bill Thornton
2c1167c193
Merge pull request #4775 from thornbill/unused-privates 2023-09-14 17:37:16 -04:00
Bill Thornton
bb44ba022d
Merge pull request #4774 from thornbill/owner-of-a-lonely-if 2023-09-14 10:53:21 -04:00
Bill Thornton
fddee0607f Add eslint rule to prevent unused private class members 2023-09-12 23:53:39 -04:00
Bill Thornton
aef99ce247 Add eslint rule to prevent "lonely" if statements 2023-09-12 23:45:36 -04:00
Bill Thornton
101abc762b Add eslint rule for consistent curly brackets 2023-09-12 17:28:53 -04:00
Bill Thornton
9f7a492e20 Update unused var rule to error 2023-07-13 11:57:47 -04:00
Bill Thornton
b034c01240 Add no extend native rule 2023-07-06 14:46:14 -04:00
Bill Thornton
f35a8151e0 Add prefer optional chaining rule 2023-07-06 13:39:48 -04:00
Bill Thornton
ec0adb895b Add constructor capitalization rule 2023-07-06 11:49:55 -04:00
Bill Thornton
8e2ea6812a Remove floating promise warning 2023-07-06 10:40:15 -04:00
Bill Thornton
c63a4cd803 Simplify file patterns 2023-07-06 10:39:44 -04:00
Bill Thornton
b7d1a98269 Remove unused promise plugin 2023-07-06 10:38:54 -04:00
Bill Thornton
df158c0b7b
Merge pull request #4570 from thornbill/prefer-starts-ends-with
Add prefer string starts/ends with eslint rule
2023-05-09 10:44:42 -04:00
Bill Thornton
b7c5063573
Merge pull request #4557 from thornbill/absolute-imports
Add support for absolute imports
2023-05-09 10:35:46 -04:00
Bill Thornton
6e057f07f9 Add prefer string starts/ends with eslint rule 2023-05-05 11:32:40 -04:00
Bill Thornton
4a72d84a46 Change promise lint rules to error in ts and warn in js 2023-05-04 16:04:09 -04:00
Bill Thornton
aaac4883e3 Add floating promises eslint rule 2023-05-04 15:59:22 -04:00
Bill Thornton
ef719c45f4 Add prefer for-of eslint rule 2023-05-04 13:05:09 -04:00
Bill Thornton
2584de5efa Make cognitive complexity an error for ts files 2023-05-04 13:05:09 -04:00
Bill Thornton
c4f5f18812 Add support for absolute imports 2023-05-02 16:44:07 -04:00
Bill Thornton
8041167473 Use typescript eslint parser for all files 2023-05-02 15:51:46 -04:00
Bill Thornton
ed21a8dcdd Add eslint rules for spacing 2023-03-29 00:35:50 -04:00
Bill Thornton
329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Pier-Luc Ducharme
47c13444cc
Add eslint max-params rule with a max of 7 2023-03-07 22:50:29 -05:00
Bill Thornton
19f416580c Add eslint rules for sonar issues 2022-12-16 21:12:05 -05:00
Bill Thornton
968bfb52fb Remove dfnshelper global for eslint 2022-11-04 02:24:30 -04:00
Aimekram
6a93a2eb29 eslint: add no-shadow rule from @typescript 2022-10-16 16:04:23 +02:00
Bill Thornton
e0013915fd Enable eslint sonar prefer-object-literal 2022-10-12 14:44:10 -04:00
Bill Thornton
b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton
8a9cdbfca3
Merge pull request #4014 from thornbill/eslint-no-small-switch
Fix sonarjs no-small-switch
2022-10-11 03:03:37 -04:00
Bill Thornton
858aea92f9 Enable eslint array-callback-return foreach checking 2022-10-11 01:37:33 -04:00
Bill Thornton
a4bcc9689b Merge remote-tracking branch 'upstream/master' into eslint-no-small-switch 2022-10-11 00:46:33 -04:00
Bill Thornton
76ed503c81 Fix sonarjs no-small-switch 2022-10-08 03:18:30 -04:00
Bill Thornton
5e4eca6ae9 Fix sonarjs no-redundant-jump 2022-10-08 02:50:20 -04:00
Bill Thornton
4972f50a06 Fix sonarjs no-identical-functions 2022-10-05 15:31:15 -04:00
Bill Thornton
554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Bill Thornton
31c8060463 Add eslint warning for no-warning-comments 2022-10-04 16:06:59 -04:00
Bill Thornton
f572a231c9
Merge pull request #3989 from thornbill/eslint-no-useless-constructor 2022-10-04 14:50:34 -04:00
Bill Thornton
f4cd29ac17 Add no-return-assign eslint rule and fix issues 2022-10-04 14:24:24 -04:00
Bill Thornton
bef05ba117 Add no-useless-constructor eslint rule and fix issues 2022-10-04 13:32:55 -04:00
Bill Thornton
7d2850f6a3 Merge remote-tracking branch 'upstream/master' into fix-sonar-issues 2022-10-04 10:00:37 -04:00
Bill Thornton
1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Bill Thornton
4669939eeb Fix sonarjs no-unused-collection 2022-10-03 10:17:38 -04:00
Bill Thornton
bdc97c45b8 Fix sonarjs no-nested-switch 2022-10-03 10:12:13 -04:00
Bill Thornton
272a74e7aa Fix sonarjs no-gratuitous-expressions 2022-10-03 10:04:40 -04:00
Bill Thornton
857973ec45 Fix sonarjs max-switch-cases 2022-10-03 09:50:00 -04:00
Bill Thornton
52e92d44af Add sonarjs eslint plugin 2022-09-30 17:57:47 -04:00
Bill Thornton
23eede4d2f Only allow jsx in jsx/tsx files 2022-09-29 13:11:56 -04:00
Cody Robibero
74ca9eb81a
Merge pull request #3798 from Stromwerk/no-throw-literal 2022-08-13 08:00:45 -06:00
Stromwerk
ceebed3709 Add no-throw-literal rule to eslintrc 2022-08-11 21:43:36 +03:00