1.1.2 • Published 7 years ago

standard-focus v1.1.2

Weekly downloads
65
License
MIT
Repository
github
Last release
7 years ago

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.