@moso/eslint-config 2.0.3 → 2.0.4

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/dist/index.d.mts CHANGED
@@ -589,7 +589,7 @@ interface RuleOptions {
589
589
  */
590
590
  '@next/next/inline-script-id'?: Linter.RuleEntry<[]>;
591
591
  /**
592
- * Prefer `next/script` component when using the inline script for Google Analytics.
592
+ * Prefer `@next/third-parties/google` when using the inline script for Google Analytics and Tag Manager.
593
593
  * @see https://nextjs.org/docs/messages/next-script-for-ga
594
594
  */
595
595
  '@next/next/next-script-for-ga'?: Linter.RuleEntry<[]>;
package/dist/index.mjs CHANGED
@@ -474,7 +474,7 @@ const ignores = async (options) => {
474
474
  var package_default = {
475
475
  name: "@moso/eslint-config",
476
476
  type: "module",
477
- version: "2.0.3",
477
+ version: "2.0.4",
478
478
  description: "My shareable ESLint config",
479
479
  author: {
480
480
  "name": "Morten Sørensen",
@@ -501,9 +501,13 @@ var package_default = {
501
501
  "react",
502
502
  "vue"
503
503
  ],
504
- exports: { ".": "./dist/index.js" },
505
- main: "./dist/index.js",
506
- types: "./dist/index.d.ts",
504
+ exports: {
505
+ ".": "./dist/index.mjs",
506
+ "./package.json": "./package.json"
507
+ },
508
+ main: "./dist/index.mjs",
509
+ module: "./dist/index.mjs",
510
+ types: "./dist/index.d.mts",
507
511
  files: [
508
512
  "LICENSE",
509
513
  "README.md",
@@ -526,7 +530,7 @@ var package_default = {
526
530
  workspaces: ["src/rules"],
527
531
  peerDependencies: {
528
532
  "@eslint-react/eslint-plugin": "^2.3.13",
529
- "@next/eslint-plugin-next": "^16.0.10",
533
+ "@next/eslint-plugin-next": "^16.1.0",
530
534
  "eslint": ">=9.30.0",
531
535
  "eslint-plugin-astro": "^1.5.0",
532
536
  "eslint-plugin-jsx-a11y": "^6.10.2",
@@ -586,7 +590,7 @@ var package_default = {
586
590
  "@eslint/config-inspector": "^1.4.2",
587
591
  "@eslint/js": "^9.39.2",
588
592
  "@moso/eslint-plugin": "workspace:*",
589
- "@next/eslint-plugin-next": "^16.0.10",
593
+ "@next/eslint-plugin-next": "^16.1.0",
590
594
  "@types/node": "^25.0.3",
591
595
  "@typescript-eslint/rule-tester": "^8.50.0",
592
596
  "@typescript-eslint/utils": "^8.50.0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moso/eslint-config",
3
3
  "type": "module",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "description": "My shareable ESLint config",
6
6
  "author": {
7
7
  "name": "Morten Sørensen",
@@ -31,10 +31,12 @@
31
31
  "vue"
32
32
  ],
33
33
  "exports": {
34
- ".": "./dist/index.js"
34
+ ".": "./dist/index.mjs",
35
+ "./package.json": "./package.json"
35
36
  },
36
- "main": "./dist/index.js",
37
- "types": "./dist/index.d.ts",
37
+ "main": "./dist/index.mjs",
38
+ "module": "./dist/index.mjs",
39
+ "types": "./dist/index.d.mts",
38
40
  "files": [
39
41
  "LICENSE",
40
42
  "README.md",
@@ -57,7 +59,7 @@
57
59
  "workspaces": ["src/rules"],
58
60
  "peerDependencies": {
59
61
  "@eslint-react/eslint-plugin": "^2.3.13",
60
- "@next/eslint-plugin-next": "^16.0.10",
62
+ "@next/eslint-plugin-next": "^16.1.0",
61
63
  "eslint": ">=9.30.0",
62
64
  "eslint-plugin-astro": "^1.5.0",
63
65
  "eslint-plugin-jsx-a11y": "^6.10.2",
@@ -135,7 +137,7 @@
135
137
  "@eslint/config-inspector": "^1.4.2",
136
138
  "@eslint/js": "^9.39.2",
137
139
  "@moso/eslint-plugin": "2.0.1",
138
- "@next/eslint-plugin-next": "^16.0.10",
140
+ "@next/eslint-plugin-next": "^16.1.0",
139
141
  "@types/node": "^25.0.3",
140
142
  "@typescript-eslint/rule-tester": "^8.50.0",
141
143
  "@typescript-eslint/utils": "^8.50.0",