Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

standard-focus

codealchemist452MIT1.1.2

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

standard, focus, test, style

readme

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.