Skip to content

React / Stylistic ルールの調整 #37

React / Stylistic ルールの調整

React / Stylistic ルールの調整 #37

Triggered via pull request October 21, 2024 17:21
Status Cancelled
Total duration 38s
Artifacts

test.yml

on: pull_request
Filter Changed Packages
3s
Filter Changed Packages
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Vitest
Canceling since a higher priority waiting request for 'Test Package-refs/pull/270/merge' exists
test/snapshot.test.ts > Test ESLint config with snapshot > js preset > matches snapshot: packages/eslint-config/test/snapshot.test.ts#L25
Error: Snapshot `Test ESLint config with snapshot > js preset > matches snapshot 1` mismatched - Expected + Received @@ -540,19 +540,23 @@ }, ], "perfectionist/sort-object-types": [ 2, { + "ignoreCase": true, "order": "asc", + "partitionByComment": true, "partitionByNewLine": true, "type": "natural", }, ], "perfectionist/sort-objects": [ 2, { + "ignoreCase": true, "order": "asc", + "partitionByComment": true, "partitionByNewLine": true, "type": "natural", }, ], "perfectionist/sort-sets": [ @@ -570,10 +574,24 @@ }, ], "perfectionist/sort-union-types": [ 2, { + "groups": [ + "conditional", + "function", + "import", + "intersection", + "keyword", + "literal", + "named", + "object", + "operator", + "tuple", + "union", + "nullish", + ], "order": "asc", "type": "natural", }, ], "perfectionist/sort-variable-declarations": [ ❯ test/snapshot.test.ts:25:22
test/snapshot.test.ts > Test ESLint config with snapshot > ts preset > matches snapshot: packages/eslint-config/test/snapshot.test.ts#L40
Error: Snapshot `Test ESLint config with snapshot > ts preset > matches snapshot 1` mismatched - Expected + Received @@ -35,11 +35,11 @@ ], "@stylistic/ts/no-extra-semi": [ 2, ], "@typescript-eslint/adjacent-overload-signatures": [ - 2, + 0, ], "@typescript-eslint/array-type": [ 2, { "default": "array-simple", @@ -674,19 +674,23 @@ }, ], "perfectionist/sort-object-types": [ 2, { - "order": "asc", + "ignoreCase": true, + "order": "asc", + "partitionByComment": true, "partitionByNewLine": true, "type": "natural", }, ], "perfectionist/sort-objects": [ 2, { - "order": "asc", + "ignoreCase": true, + "order": "asc", + "partitionByComment": true, "partitionByNewLine": true, "type": "natural", }, ], "perfectionist/sort-sets": [ @@ -704,10 +708,24 @@ }, ], "perfectionist/sort-union-types": [ 2, { + "groups": [ + "conditional", + "function", + "import", + "intersection", + "keyword", + "literal", + "named", + "object", + "operator", + "tuple", + "union", + "nullish", + ], "order": "asc", "type": "natural", }, ], "perfectionist/sort-variable-declarations": [ ❯ test/snapshot.test.ts:40:22
test/snapshot.test.ts > Test ESLint config with snapshot > react preset > matches snapshot: packages/eslint-config/test/snapshot.test.ts#L53
Error: Key "rules": Key "react/jsx-no-target-blank": Value {"allowReferer":true,"links":true,"forms":false} should NOT have additional properties. Unexpected property "allowReferer". Expected properties: "allowReferrer", "enforceDynamicLinks", "warnOnSpreadAttributes", "links", "forms". ❯ RuleValidator.validate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27 ❯ new Config ../../node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27 ❯ FlatConfigArray.[finalizeConfig] ../../node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16 ❯ FlatConfigArray.getConfigWithStatus ../../node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55 ❯ FlatConfigArray.getConfig ../../node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15 ❯ ESLint.calculateConfigForFile ../../node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint.js:1069:24 ❯ test/snapshot.test.ts:53:22
Vitest
The operation was canceled.
Filter Changed Packages
'ref' input parameter is ignored when 'base' is set to HEAD