@open-turo/eslint-config-typescript 9.0.20 → 9.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -72,6 +72,8 @@ module.exports = {
|
|
|
72
72
|
"simple-import-sort/imports": "error",
|
|
73
73
|
"simple-import-sort/exports": "error",
|
|
74
74
|
"sort-destructure-keys/sort-destructure-keys": "error",
|
|
75
|
+
// Noisy rule - we may have helpers/methods that we mark as @deprecated but aren't planning to remove in the near future. This rule also significantly adds to eslint running time, which slows down both local development and CI.
|
|
76
|
+
"sonarjs/deprecation": "off",
|
|
75
77
|
// This rule is not helpful in TypeScript files, and in JavaScript we often return different types from functions, so this is not a strictness level we want to enforce.
|
|
76
78
|
"sonarjs/function-return-type": "off",
|
|
77
79
|
// We may want to catch errors but not use the error object directly, just trigger error handling fallbacks within the catch block.
|
package/legacy.js
CHANGED
|
@@ -73,6 +73,8 @@ module.exports = {
|
|
|
73
73
|
"simple-import-sort/imports": "error",
|
|
74
74
|
"simple-import-sort/exports": "error",
|
|
75
75
|
"sort-destructure-keys/sort-destructure-keys": "error",
|
|
76
|
+
// Noisy rule - we may have helpers/methods that we mark as @deprecated but aren't planning to remove in the near future. This rule also significantly adds to eslint running time, which slows down both local development and CI.
|
|
77
|
+
"sonarjs/deprecation": "off",
|
|
76
78
|
// This rule is not helpful in TypeScript files, and in JavaScript we often return different types from functions, so this is not a strictness level we want to enforce.
|
|
77
79
|
"sonarjs/function-return-type": "off",
|
|
78
80
|
// We may want to catch errors but not use the error object directly, just trigger error handling fallbacks within the catch block.
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|