Skip to content

no aliases

Moritz Jacobs edited this page Feb 25, 2020 · 1 revision

no-aliases

This rule is not fixable ✖︎

Why?

Before npx and yarn it was common practice to alias tooling dependencies to a script of the same name. Nowadays, it's better to just use npx or yarn.

Examples

The linting rule just checks for <scriptName> === <script>:

{ "jest": "jest" 🚨 }


scriptlint status
npm version badge
dependency badge
Issue badge
CI badge

Clone this wiki locally