Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: check if script references are valid #14

Open
moritzjacobs opened this issue Feb 14, 2020 · 0 comments
Open

feature request: check if script references are valid #14

moritzjacobs opened this issue Feb 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@moritzjacobs
Copy link
Collaborator

For example:

"scripts": {
    "test": "run-s test:unit lint",
    "test:unit": "jest",
    "test:lint": "eslint ./src"
}

should throw a scriptlint error because the script was renamed from lint to test:lint but the user forgot to change the reference in the test script as well.

This should be smart enough to go for npm run <foo>, yarn <foo>, and all variants of npm-run-all/run-p etc.

@moritzjacobs moritzjacobs added the enhancement New feature or request label Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant