@moso/eslint-config 2.0.2 → 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 +1 -1
- package/dist/index.mjs +11 -7
- package/package.json +9 -7
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
|
|
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.
|
|
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: {
|
|
505
|
-
|
|
506
|
-
|
|
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
|
|
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",
|
|
@@ -551,7 +555,6 @@ var package_default = {
|
|
|
551
555
|
"@antfu/install-pkg": "^1.1.0",
|
|
552
556
|
"@clack/prompts": "^0.11.0",
|
|
553
557
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
554
|
-
"@moso/eslint-plugin": "workspace:*",
|
|
555
558
|
"@stylistic/eslint-plugin": "^5.6.1",
|
|
556
559
|
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
|
557
560
|
"@typescript-eslint/parser": "^8.50.0",
|
|
@@ -586,7 +589,8 @@ var package_default = {
|
|
|
586
589
|
"@eslint/compat": "^2.0.0",
|
|
587
590
|
"@eslint/config-inspector": "^1.4.2",
|
|
588
591
|
"@eslint/js": "^9.39.2",
|
|
589
|
-
"@
|
|
592
|
+
"@moso/eslint-plugin": "workspace:*",
|
|
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.
|
|
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.
|
|
34
|
+
".": "./dist/index.mjs",
|
|
35
|
+
"./package.json": "./package.json"
|
|
35
36
|
},
|
|
36
|
-
"main": "./dist/index.
|
|
37
|
-
"
|
|
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
|
|
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",
|
|
@@ -100,7 +102,6 @@
|
|
|
100
102
|
"@antfu/install-pkg": "^1.1.0",
|
|
101
103
|
"@clack/prompts": "^0.11.0",
|
|
102
104
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
103
|
-
"@moso/eslint-plugin": "workspace:*",
|
|
104
105
|
"@stylistic/eslint-plugin": "^5.6.1",
|
|
105
106
|
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
|
106
107
|
"@typescript-eslint/parser": "^8.50.0",
|
|
@@ -135,7 +136,8 @@
|
|
|
135
136
|
"@eslint/compat": "^2.0.0",
|
|
136
137
|
"@eslint/config-inspector": "^1.4.2",
|
|
137
138
|
"@eslint/js": "^9.39.2",
|
|
138
|
-
"@
|
|
139
|
+
"@moso/eslint-plugin": "2.0.1",
|
|
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",
|