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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i standard-focus

    Weekly Downloads

    30

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • codealchemist