fix(deps): update linters (main) #13318
Annotations
2 errors
Test:
packages/@o3r/eslint-config/schematics/index.it.spec.ts#L41
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: npm exec ng lint test-app -- --fix
STDERR:
An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts
See \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ng-tbGhto\\angular-errors.log\" for further details.
D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75·
allowShortCircuit,·
^···
TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')·
Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts·
at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75:13)·
at create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\eslint-plugin\\dist\\rules\\no-unused-expressions.js:28:32)·
at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\utils\\dist\\eslint-utils\\RuleCreator.js:31:20)·
at createRuleListeners (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:944:21)·
at D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1082:84·
at Array.forEach (<anonymous>)·
at runRules (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1013:34)·
at #flatVerifyWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1911:31)·
at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1993:49)·
at Linter._verifyWithFlatConfigArray (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:2082:21)···
Node.js v20.18.1··
OUTPUT:
,
Linting \"test-app\"...
,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')
Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts
See \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ng-tbGhto\\angular-errors.log\" for further details.
D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75·
allowShortCircuit,·
^···
TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')·
Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts·
at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75:13)·
at create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\eslint-plugin\\dist\\rules\\no-unused-expressions.js:28:32)·
at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\utils\\dist\\eslint-utils\\RuleCreator.js:31:20)·
at createRuleListeners (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:944:21)·
at D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1082:84·
at Array.forEach (<anonymous>)·
at runRules (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1013:34)·
at #flatVerifyWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1911:31)·
|
Test
Process completed with exit code 1.
|
Loading