fix: downgrade eslint-plugin-perfectionist package #679
Annotations
10 errors
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/js', durationMs: 6364.883899, failed: true, timedOu
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/all', durationMs: 7986.263923, failed: true, timedO
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/no-style', durationMs: 7662.265809, failed: true, t
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/tab-double-quotes', durationMs: 7609.590126, failed
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/ts-override', durationMs: 7879.262654, failed: true
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/ts-strict', durationMs: 4177.95583, failed: true, t
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/ts-strict-with-react', durationMs: 4196.60072, fail
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/with-formatters', durationMs: 3952.141998, failed:
|
Test:
test/fixtures.test.ts#L136
ExecaError: Command failed with exit code 2: npx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.14.0
Error: Key "rules": Key "perfectionist/sort-imports":
\tValue {"groups":["type",["parent-type","sibling-type","index-type"],"builtin","external",["internal","internal-type"],["parent","sibling","index"],"side-effect","object","unknown"],"newlinesBetween":"ignore","order":"asc","type":"natural","ignore-case":false,"newlines-between":"always"} should NOT have additional properties.
\t\tUnexpected property "newlinesBetween". Expected properties: "custom-groups", "type", "order", "ignore-case", "groups", "internal-pattern", "newlines-between", "max-line-length".
at RuleValidator.validate (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/rule-validator.js:170:27)
at new Config (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/config.js:243:27)
at [finalizeConfig] (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/config/flat-config-array.js:216:16)
at FlatConfigArray.getConfigWithStatus (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1102:55)
at FlatConfigArray.getConfig (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@eslint[email protected]/node_modules/@eslint/config-array/dist/cjs/index.cjs:1120:15)
at entryFilter (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40)
at async NodeHfs.<anonymous> (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24)
at async NodeHfs.walk (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3)
at async globSearch (/home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26)
at async Promise.allSettled (index 0)
❯ 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
❯ [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
❯ entryFilter node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:286:40
❯ NodeHfs.<anonymous> node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:574:24
❯ NodeHfs.walk node_modules/.pnpm/@HumanFS[email protected]/node_modules/@humanfs/core/src/hfs.js:614:3
❯ globSearch node_modules/.pnpm/[email protected][email protected]/node_modules/eslint/lib/eslint/eslint-helpers.js:327:26
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/fixtures.test.ts:136:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: npx eslint . --fix', command: 'npx eslint . --fix', escapedCommand: 'npx eslint . --fix', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/no-markdown-with-formatters', durationMs: 3523.4496
|
Test
Process completed with exit code 1.
|
Loading