@dvukovic/style-guide 0.3.58 → 0.3.59

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.
Files changed (38) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
  3. package/src/eslint/configs/core.js +1 -1
  4. package/src/eslint/configs/jest.js +1 -1
  5. package/src/eslint/configs/mobx.js +1 -1
  6. package/src/eslint/configs/next.js +1 -1
  7. package/src/eslint/configs/node.js +1 -1
  8. package/src/eslint/configs/playwright.js +1 -1
  9. package/src/eslint/configs/react.js +1 -1
  10. package/src/eslint/configs/typescript-strict.js +1 -1
  11. package/src/eslint/configs/typescript.js +1 -1
  12. package/src/eslint/configs/vitest.js +1 -1
  13. package/src/eslint/plugins/eslint-comments.js +1 -1
  14. package/src/eslint/plugins/eslint.js +1 -1
  15. package/src/eslint/plugins/etc.js +1 -1
  16. package/src/eslint/plugins/import-x.js +1 -1
  17. package/src/eslint/plugins/jest.js +1 -1
  18. package/src/eslint/plugins/mobx.js +1 -1
  19. package/src/eslint/plugins/n.js +1 -1
  20. package/src/eslint/plugins/next.js +1 -1
  21. package/src/eslint/plugins/playwright.js +1 -1
  22. package/src/eslint/plugins/promise.js +1 -1
  23. package/src/eslint/plugins/react-hooks.js +1 -1
  24. package/src/eslint/plugins/react.js +1 -1
  25. package/src/eslint/plugins/rimac.js +1 -1
  26. package/src/eslint/plugins/security-node.js +1 -1
  27. package/src/eslint/plugins/simple-import-sort.js +1 -1
  28. package/src/eslint/plugins/sonarjs.js +1 -1
  29. package/src/eslint/plugins/sort-destructure-keys.js +1 -1
  30. package/src/eslint/plugins/sort-keys-fix.js +1 -1
  31. package/src/eslint/plugins/stylistic.js +1 -1
  32. package/src/eslint/plugins/typescript-eslint.js +1 -1
  33. package/src/eslint/plugins/typescript-sort-keys.js +1 -1
  34. package/src/eslint/plugins/unicorn.js +1 -1
  35. package/src/eslint/plugins/unused-imports.js +1 -1
  36. package/src/eslint/plugins/vitest.js +1 -1
  37. package/src/graphql/configs/core.js +1 -1
  38. 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("@types/eslint").ESLint.ConfigData} */
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("@types/eslint").ESLint.ConfigData} */
83
+ /** @type {import("eslint").ESLint.ConfigData} */
84
84
  module.exports = {
85
85
  ignorePatterns: ["node_modules"],
86
86
  overrides: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.3.58",
3
+ "version": "0.3.59",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: [
4
4
  "../plugins/eslint.js",
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/jest.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/mobx.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/next.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/n.js", "../plugins/security-node.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/playwright.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/react.js", "../plugins/react-hooks.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@typescript-eslint"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/typescript-eslint.js", "../plugins/typescript-sort-keys.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/vitest.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@eslint-community/eslint-comments"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  rules: {
4
4
  "array-callback-return": [
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["etc"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["import-x"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["jest"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["mobx"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["n"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@next/eslint-plugin-next"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["playwright"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["promise"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["react-hooks"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["react"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@rimac-technology"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["security-node"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["simple-import-sort"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["sonarjs"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["sort-destructure-keys"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["sort-keys-fix"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@stylistic"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@typescript-eslint"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["typescript-sort-keys"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["unicorn"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["unused-imports"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@vitest"],
4
4
  rules: {
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  extends: ["../plugins/graphql.js"],
4
4
  }
@@ -1,4 +1,4 @@
1
- /** @type {import("@types/eslint").ESLint.ConfigData} */
1
+ /** @type {import("eslint").ESLint.ConfigData} */
2
2
  module.exports = {
3
3
  plugins: ["@graphql-eslint"],
4
4
  rules: {