npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

standard-focus

1.1.2 • Public • Published

standard-focus

Lint your code with StandardJS and focus on one error at a time.

screenshot

Install

npm install --save-dev standard-focus

Usage

You can use standard-focus just like StandardJS in your package.json scripts:

{
  "name": "my-cool-package",
  "devDependencies": {
    "standard-focus": "*"
  },
  "scripts": {
    "test": "standard-focus && node my-tests.js",
    "just-standard-focus": "standard-focus"
  }
}

Autofix errors

Pressing the ENTER key will tell standard-focus to do its best to fix the current error. If the error can't be automatically fixed it will let you know so you can fix it manually. After each error is fixed the target file will be updated.

Why?

I love using StandardJS but I wanted to completely focus on fixing one line at a time. This is exactly what you can do with standard-focus.

What's all about?

Please, see StandardJS for further reference.

install

npm i standard-focus

Downloadsweekly downloads

65

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability