@touchspot/eslint-config 5.0.2 → 5.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/src/frameworks/react.d.ts.map +1 -1
- package/dist/src/frameworks/react.js +1 -2
- package/dist/src/frameworks/react.js.map +1 -1
- package/dist/src/frameworks/tailwindcss.d.ts +2 -1
- package/dist/src/frameworks/tailwindcss.d.ts.map +1 -1
- package/dist/src/frameworks/tailwindcss.js.map +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/frameworks/react.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/frameworks/react.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK,wCAAoF,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineConfig } from "eslint/config";
|
|
2
|
-
import * as env from "../env.js";
|
|
3
2
|
import { functionalRulesetReact } from "../rulesets/functional.js";
|
|
4
3
|
import { reactHooksRuleset } from "../rulesets/react-hooks.js";
|
|
5
4
|
import { reactRuleset } from "../rulesets/react.js";
|
|
6
|
-
export const react = () => defineConfig(
|
|
5
|
+
export const react = () => defineConfig(reactRuleset(), reactHooksRuleset(), functionalRulesetReact());
|
|
7
6
|
//# sourceMappingURL=react.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/frameworks/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,
|
|
1
|
+
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/frameworks/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,sBAAsB,EAAE,kCAAoC;AACrE,OAAO,EAAE,iBAAiB,EAAE,mCAAqC;AACjE,OAAO,EAAE,YAAY,EAAE,6BAA+B;AAEtD,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,EAAE,iBAAiB,EAAE,EAAE,sBAAsB,EAAE,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ObjectKeyMatcher, ObjectValueMatcher, StringMatcher } from "eslint-plugin-better-tailwindcss/api/types";
|
|
2
2
|
export declare namespace tailwindcss {
|
|
3
|
+
type Matcher = ObjectKeyMatcher | ObjectValueMatcher | StringMatcher;
|
|
3
4
|
type CommonOptions = {
|
|
4
5
|
readonly attributes?: readonly Matcher[] | undefined;
|
|
5
6
|
readonly callees?: readonly Matcher[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwindcss.d.ts","sourceRoot":"","sources":["../../../src/frameworks/tailwindcss.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"tailwindcss.d.ts","sourceRoot":"","sources":["../../../src/frameworks/tailwindcss.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAKtH,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACpC,KAAK,OAAO,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,aAAa,CAAC;IAErE,KAAK,aAAa,GAAG;QACpB,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;QACrD,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;QAClD,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;QACpD,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,CAAC;KAC/C,CAAC;IAEF,KAAK,SAAS,GAAG;QAChB,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;KACvB,CAAC;IAEF,KAAK,SAAS,GAAG;QAChB,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;QACpB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;IAEF,KAAK,OAAO,GAAG,aAAa,GAAG,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;CACvD;AAED,eAAO,MAAM,WAAW,GAAI,SAAS,WAAW,CAAC,OAAO,qCAAqD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwindcss.js","sourceRoot":"","sources":["../../../src/frameworks/tailwindcss.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,yBAAyB,EAAE,0CAA4C;
|
|
1
|
+
{"version":3,"file":"tailwindcss.js","sourceRoot":"","sources":["../../../src/frameworks/tailwindcss.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAE,yBAAyB,EAAE,0CAA4C;AAyBhF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,OAA4B,EAAE,EAAE,CAAC,YAAY,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@touchspot/eslint-config",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "TOUCHSPOT ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -34,29 +34,29 @@
|
|
|
34
34
|
"prettier": "@touchspot/prettier-config",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@eslint/js": "^9.39.2",
|
|
37
|
-
"@next/eslint-plugin-next": "^16.1.
|
|
37
|
+
"@next/eslint-plugin-next": "^16.1.6",
|
|
38
38
|
"eslint-config-prettier": "^10.1.8",
|
|
39
39
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
40
|
-
"eslint-plugin-better-tailwindcss": "^4.0
|
|
40
|
+
"eslint-plugin-better-tailwindcss": "^4.2.0",
|
|
41
41
|
"eslint-plugin-check-file": "^3.3.1",
|
|
42
42
|
"eslint-plugin-functional": "^9.0.2",
|
|
43
43
|
"eslint-plugin-import-x": "^4.16.1",
|
|
44
44
|
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
45
|
-
"eslint-plugin-perfectionist": "^5.
|
|
45
|
+
"eslint-plugin-perfectionist": "^5.5.0",
|
|
46
46
|
"eslint-plugin-react": "^7.37.5",
|
|
47
47
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
48
|
-
"eslint-plugin-unicorn": "^
|
|
49
|
-
"eslint-plugin-unused-imports": "^4.
|
|
50
|
-
"globals": "^17.
|
|
51
|
-
"typescript-eslint": "^8.
|
|
48
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
49
|
+
"eslint-plugin-unused-imports": "^4.4.1",
|
|
50
|
+
"globals": "^17.3.0",
|
|
51
|
+
"typescript-eslint": "^8.55.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@eslint/config-helpers": "^0.5.
|
|
55
|
-
"@eslint/core": "^1.0
|
|
54
|
+
"@eslint/config-helpers": "^0.5.2",
|
|
55
|
+
"@eslint/core": "^1.1.0",
|
|
56
56
|
"eslint": "^9.39.2",
|
|
57
|
-
"next": "^16.1.
|
|
58
|
-
"react": "^19.2.
|
|
59
|
-
"react-dom": "^19.2.
|
|
57
|
+
"next": "^16.1.6",
|
|
58
|
+
"react": "^19.2.4",
|
|
59
|
+
"react-dom": "^19.2.4",
|
|
60
60
|
"tailwindcss": "^4.1.18"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|