Skip to content

Motivation

tannerbaum edited this page Feb 26, 2020 · 2 revisions

package.json scripts are an integral part of the Node.js dev experience: we use them to start our projects, run our dev environments and for all kinds of formatting, linting and tooling in general. They are just as important as our code. Yet we don't treat them with the same meticulous attention to detail. Scripts need ❤️ too!

One of the main goals for scriptlint, was to enable people to use memorable and consistent script names across their projects. Tools like nps are great when you have to organize scripts with a certain level of complexity, but they don't help you with the structure and naming of your scripts.

This is where the scriptlint CLI shines: it makes best practices outlined in this documentation enforceable throughout your project(s). Think of it as eslint for your "scripts" section.


scriptlint status
npm version badge
dependency badge
Issue badge
CI badge

Clone this wiki locally