-
Couldn't load subscription status.
- Fork 37
Closed
Description
using eslint version 9.4.0 with eslint-plugin-header gives this error -
Error: Key "rules": Key "header/header":
Value ["block",{"pattern":"Copyright \\d{4}, CompanyName, Inc. All rights reserved.","template":"Copyright 2024, CompanyName, Inc. All rights reserved."}] should NOT have more than 0 items.
at RuleValidator.validate (/Users/vineet/Documents/learn_eslint/node_modules/eslint/lib/config/rule-validator.js:170:27)
at [finalizeConfig] (/Users/vineet/Documents/learn_eslint/node_modules/eslint/lib/config/flat-config-array.js:317:23)
at FlatConfigArray.getConfigWithStatus (/Users/vineet/Documents/learn_eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs:1145:55)
at FlatConfigArray.getConfig (/Users/vineet/Documents/learn_eslint/node_modules/@eslint/config-array/dist/cjs/index.cjs:1163:15)
at ESLint.calculateConfigForFile (/Users/vineet/Documents/learn_eslint/node_modules/eslint/lib/eslint/eslint.js:1169:24)
at async ESLint.isPathIgnored (/Users/vineet/Documents/learn_eslint/node_modules/eslint/lib/eslint/eslint.js:1191:24)
see https://github.com/firefoxNX/learn_eslint to reproduce the issue.
xdan and Laffery
Metadata
Metadata
Assignees
Labels
No labels