Skip to content

Unexpected top-level property "name" #308

Description

@BaesKevin

This is a regression between 10.0.2 and 10.0.3.

`
ESLint: 9.21.0

Error: ESLint configuration in » eslint-config-prettier is invalid:
- Unexpected top-level property "name".

Referenced from:
at ConfigValidator.validateConfigSchema (file:///path/to/project/node_modules/@eslint/eslintrc/lib/shared/config-validator.js:330:19)
at ConfigArrayFactory._normalizeConfigData (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:678:19)
at ConfigArrayFactory._loadConfigData (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:643:21)
at ConfigArrayFactory._loadExtendedShareableConfig (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:948:21)
at ConfigArrayFactory._loadExtends (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:816:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:754:25)
at _normalizeObjectConfigDataBody.next ()
at ConfigArrayFactory._normalizeObjectConfigData (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:699:20)
at _normalizeObjectConfigData.next ()
at ConfigArrayFactory.create (file:///path/to/project/node_modules/@eslint/eslintrc/lib/config-array-factory.js:492:16)
`

node version v22.14.0
full dev dependencies

"devDependencies": { "@eslint/eslintrc": "3.3.0", "@eslint/js": "9.21.0", "@typescript-eslint/eslint-plugin": "8.26.0", "@typescript-eslint/parser": "8.26.0", "eslint": "9.21.0", "eslint-config-prettier": "10.0.2", "eslint-plugin-cypress": "4.1.0", "eslint-plugin-no-only-tests": "3.3.0", "eslint-plugin-prettier": "5.2.3", "prettier": "3.5.3", "typescript": "5.8.2" },

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions