@dvukovic/style-guide 0.3.58 → 0.3.60
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/README.md +2 -2
- package/package.json +1 -1
- package/src/eslint/configs/core.js +1 -1
- package/src/eslint/configs/jest.js +1 -1
- package/src/eslint/configs/mobx.js +1 -1
- package/src/eslint/configs/next.js +1 -1
- package/src/eslint/configs/node.js +1 -1
- package/src/eslint/configs/playwright.js +1 -1
- package/src/eslint/configs/react.js +1 -1
- package/src/eslint/configs/typescript-strict.js +1 -1
- package/src/eslint/configs/typescript.js +1 -1
- package/src/eslint/configs/vitest.js +1 -1
- package/src/eslint/plugins/eslint-comments.js +1 -1
- package/src/eslint/plugins/eslint.js +1 -1
- package/src/eslint/plugins/etc.js +1 -1
- package/src/eslint/plugins/import-x.js +1 -1
- package/src/eslint/plugins/jest.js +1 -1
- package/src/eslint/plugins/mobx.js +1 -1
- package/src/eslint/plugins/n.js +1 -1
- package/src/eslint/plugins/next.js +1 -1
- package/src/eslint/plugins/playwright.js +1 -1
- package/src/eslint/plugins/promise.js +1 -1
- package/src/eslint/plugins/react-hooks.js +1 -1
- package/src/eslint/plugins/react.js +1 -1
- package/src/eslint/plugins/rimac.js +1 -1
- package/src/eslint/plugins/security-node.js +1 -1
- package/src/eslint/plugins/simple-import-sort.js +1 -1
- package/src/eslint/plugins/sonarjs.js +1 -1
- package/src/eslint/plugins/sort-destructure-keys.js +1 -1
- package/src/eslint/plugins/sort-keys-fix.js +1 -1
- package/src/eslint/plugins/stylistic.js +1 -1
- package/src/eslint/plugins/typescript-eslint.js +1 -2
- package/src/eslint/plugins/typescript-sort-keys.js +1 -1
- package/src/eslint/plugins/unicorn.js +1 -1
- package/src/eslint/plugins/unused-imports.js +1 -1
- package/src/eslint/plugins/vitest.js +1 -1
- package/src/graphql/configs/core.js +1 -1
- package/src/graphql/plugins/graphql.js +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ add the following to `.gitignore`
|
|
|
36
36
|
Create a `.eslintrc.js` in root with the following:
|
|
37
37
|
|
|
38
38
|
```javascript
|
|
39
|
-
/** @type {import("
|
|
39
|
+
/** @type {import("eslint").ESLint.ConfigData} */
|
|
40
40
|
module.exports = {
|
|
41
41
|
root: true,
|
|
42
42
|
extends: [
|
|
@@ -80,7 +80,7 @@ module.exports = {
|
|
|
80
80
|
If you need graphql config, everything has to be configured trough `overrides`
|
|
81
81
|
|
|
82
82
|
```javascript
|
|
83
|
-
/** @type {import("
|
|
83
|
+
/** @type {import("eslint").ESLint.ConfigData} */
|
|
84
84
|
module.exports = {
|
|
85
85
|
ignorePatterns: ["node_modules"],
|
|
86
86
|
overrides: [
|
package/package.json
CHANGED
package/src/eslint/plugins/n.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @type {import("
|
|
1
|
+
/** @type {import("eslint").ESLint.ConfigData} */
|
|
2
2
|
module.exports = {
|
|
3
3
|
plugins: ["@typescript-eslint"],
|
|
4
4
|
rules: {
|
|
@@ -86,7 +86,6 @@ module.exports = {
|
|
|
86
86
|
},
|
|
87
87
|
],
|
|
88
88
|
"@typescript-eslint/no-misused-new": "error",
|
|
89
|
-
"@typescript-eslint/no-misused-spread": "error",
|
|
90
89
|
"@typescript-eslint/no-mixed-enums": "error",
|
|
91
90
|
"@typescript-eslint/no-namespace": "error",
|
|
92
91
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|