cypress-io / eslint-plugin-cypress

An ESLint plugin for projects that use Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

package script helper

lastlink opened this issue · comments

  • what would be a recommended script to add to run lint
  • also is lint fix supported

e.g. for vue cli I can add these scripts then run npm run lint or npm run lint:fix

package.json

{
   "scripts": {
        "lint": "vue-cli-service lint",
        "lint:fix": "vue-cli-service lint --fix"
    }
}

Closing as this is a stale "how-to" question.