@open-turo/eslint-config-typescript 9.0.15-pr-325.290.1.1 → 9.0.15
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/.github/workflows/release.yaml +1 -3
- package/.pre-commit-config.yaml +1 -1
- package/index.js +17 -0
- package/legacy.js +17 -0
- package/pack/open-turo-eslint-config-typescript-9.0.15.tgz +0 -0
- package/package.json +1 -1
- package/pack/open-turo-eslint-config-typescript-9.0.15-pr-325.290.1.1.tgz +0 -0
|
@@ -10,9 +10,7 @@ jobs:
|
|
|
10
10
|
name: Release
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
steps:
|
|
13
|
-
- uses: open-turo/actions-node/release@
|
|
13
|
+
- uses: open-turo/actions-node/release@v5
|
|
14
14
|
with:
|
|
15
15
|
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}
|
|
16
16
|
npm-token: ${{ secrets.OPEN_TURO_NPM_TOKEN }}
|
|
17
|
-
extra-plugins: |
|
|
18
|
-
@open-turo/semantic-release-config@8.0.0-pr-192.184.1.1
|
package/.pre-commit-config.yaml
CHANGED
package/index.js
CHANGED
|
@@ -72,6 +72,23 @@ 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
|
+
/**
|
|
76
|
+
* List of sonarjs rules we turned off after release of eslint-plugin-sonarjs v2
|
|
77
|
+
* Some rules are too restrictive for common use cases,
|
|
78
|
+
* and others are already covered by other plugins used here.
|
|
79
|
+
*/
|
|
80
|
+
"sonarjs/different-types-comparison": "off",
|
|
81
|
+
"sonarjs/function-return-type": "off",
|
|
82
|
+
"sonarjs/no-clear-text-protocols": "warn",
|
|
83
|
+
"sonarjs/no-ignored-exceptions": "off",
|
|
84
|
+
"sonarjs/no-misused-promises": "off",
|
|
85
|
+
"sonarjs/no-nested-functions": "off",
|
|
86
|
+
"sonarjs/prefer-nullish-coalescing": "off",
|
|
87
|
+
"sonarjs/sonar-no-unused-vars": "off",
|
|
88
|
+
"sonarjs/sonar-prefer-optional-chain": "off",
|
|
89
|
+
"sonarjs/sonar-prefer-read-only-props": "off",
|
|
90
|
+
"sonarjs/todo-tag": "off",
|
|
91
|
+
"sonarjs/use-type-alias": "off",
|
|
75
92
|
/**
|
|
76
93
|
* {@link https://typescript-eslint.io/rules/consistent-type-imports | TypeScript ESLint: consistent-type-imports docs}
|
|
77
94
|
*/
|
package/legacy.js
CHANGED
|
@@ -73,6 +73,23 @@ 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
|
+
/**
|
|
77
|
+
* List of sonarjs rules we turned off after release of eslint-plugin-sonarjs v2
|
|
78
|
+
* Some rules are too restrictive for common use cases,
|
|
79
|
+
* and others are already covered by other plugins used here.
|
|
80
|
+
*/
|
|
81
|
+
"sonarjs/different-types-comparison": "off",
|
|
82
|
+
"sonarjs/function-return-type": "off",
|
|
83
|
+
"sonarjs/no-clear-text-protocols": "warn",
|
|
84
|
+
"sonarjs/no-ignored-exceptions": "off",
|
|
85
|
+
"sonarjs/no-misused-promises": "off",
|
|
86
|
+
"sonarjs/no-nested-functions": "off",
|
|
87
|
+
"sonarjs/prefer-nullish-coalescing": "off",
|
|
88
|
+
"sonarjs/sonar-no-unused-vars": "off",
|
|
89
|
+
"sonarjs/sonar-prefer-optional-chain": "off",
|
|
90
|
+
"sonarjs/sonar-prefer-read-only-props": "off",
|
|
91
|
+
"sonarjs/todo-tag": "off",
|
|
92
|
+
"sonarjs/use-type-alias": "off",
|
|
76
93
|
"@typescript-eslint/no-unused-vars": [
|
|
77
94
|
"error",
|
|
78
95
|
{
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|