Skip to content

Double eslint validation error #326

@grayside

Description

@grayside

Problem

Gruntconfig.json has a theme top-level config, which itself is an object that has keys that match the name of the theme. This key is used to construct a path to the theme to blacklist paths for grunt validate to run the eslint checks. If this key does not match the path, grunt validate will run eslint using the theme's eslint configuration before attempting to run eslint via the theme.

Solution

Log an error if src/themes/ does not exist, in quality.js. There might be multiple places for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions