Commit Graph

128 Commits

Author SHA1 Message Date
Bill Thornton f9092e0678 Add eslint rules for consistent naming 2024-10-16 17:21:41 -04:00
Bill Thornton 7b9e97ce6c Fix eslint comment dependency 2024-09-19 09:58:41 -04:00
Bill Thornton 018d8d3f83 Migrate to stylistic eslint plugin 2024-08-21 02:52:39 -04:00
Bill Thornton b9dea3a788 Merge pull request #5734 from prsantos-com/sonarcloud-promise-rejection
Use Error instead of literal for promise rejection
2024-07-26 11:37:26 -04:00
Peter Santos c3ad26ea55 Use Error instead of literal for promise rejection 2024-06-25 22:37:34 -04:00
Bill Thornton 8961a19154 Add commit sha to version information 2024-05-20 22:31:19 -04:00
Niels van Velzen da52ed9b6e Sort define keys 2024-03-23 15:31:14 +01:00
Niels van Velzen facbda4f2f Add package.json name and version as defines to avoid importing the package.json in code 2024-03-23 09:28:24 +01:00
Bill Thornton 1aabbae3a5 Add build and web versions to dashboard 2024-02-21 00:47:03 -05:00
Yasin Silavi b4f745599b chore: add jsx-no-useless-fragment rule 2023-11-09 00:53:09 -05:00
Freako e9c07f46e4 Merge branch 'master' into patch-2 2023-10-17 06:21:01 +00:00
Cosmin Cioaclă 73083424cf chore: enable no-undef-init lint rule 2023-10-11 20:23:58 +02:00
Freako 4c9199c7c6 remove typescript option 2023-10-11 10:09:15 +05:30
Freako b8f194ef8c Update .eslintrc.js : no-unneeded-ternary 2023-10-10 16:08:16 +05:30
Cosmin Cioaclă 10101488af chore: enable no-useless-rename lint rule 2023-10-04 20:31:47 +02:00
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