@freehour/eslint-rules 1.0.5 → 1.0.6
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/config.d.ts.map +1 -1
- package/dist/index.js +14 -1
- package/package.json +2 -1
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../lib/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAW5C,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAsB,YAAY,CAAC,EAC/B,IAAY,EACZ,OAAe,EACf,KAAa,EACb,WAAmB,EACnB,SAAiB,EACjB,OAAe,GAClB,GAAE,aAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../lib/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAW5C,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAsB,YAAY,CAAC,EAC/B,IAAY,EACZ,OAAe,EACf,KAAa,EACb,WAAmB,EACnB,SAAiB,EACjB,OAAe,GAClB,GAAE,aAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CA8oCtC"}
|
package/dist/index.js
CHANGED
|
@@ -803,7 +803,20 @@ async function l({ node: l = !1, browser: u = !1, react: d = !1, tailwindcss: f
|
|
|
803
803
|
"tailwindcss/no-custom-classname": "warn",
|
|
804
804
|
"tailwindcss/no-contradicting-classname": "off",
|
|
805
805
|
"tailwindcss/no-unnecessary-arbitrary-value": "warn"
|
|
806
|
-
}
|
|
806
|
+
},
|
|
807
|
+
...m && { "simple-import-sort/imports": ["warn", { groups: [
|
|
808
|
+
["^\\u0000"],
|
|
809
|
+
["^\\w"],
|
|
810
|
+
["^@\\w"],
|
|
811
|
+
["^@/"],
|
|
812
|
+
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
|
|
813
|
+
[
|
|
814
|
+
"^\\./(?=.*/)(?!/?$)",
|
|
815
|
+
"^\\.(?!/?$)",
|
|
816
|
+
"^\\./?$"
|
|
817
|
+
],
|
|
818
|
+
["^.+\\.s?css$"]
|
|
819
|
+
] }] }
|
|
807
820
|
}
|
|
808
821
|
};
|
|
809
822
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"displayName": "eslint-rules",
|
|
5
5
|
"description": "ESLint rules for TypeScript projects.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.6",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"eslint-plugin-react": "7.37.5",
|
|
29
29
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
30
30
|
"eslint-plugin-react-refresh": "0.5.2",
|
|
31
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
31
32
|
"eslint-plugin-tailwindcss": "4.0.0-beta.0",
|
|
32
33
|
"typescript-eslint": "8.57.2"
|
|
33
34
|
},
|