levibuzolic / eslint-plugin-no-only-tests

ESLint rule for catching focused/only test blocks
https://www.npmjs.com/package/eslint-plugin-no-only-tests
MIT License
92 stars 18 forks source link

Any plans to also handle skip()? #38

Closed opike closed 2 years ago

opike commented 2 years ago

Seems like it would be also be used to handle .skip() calls as well

opike commented 2 years ago

I just realized this can be handled by updating the eslint configuration:

    "no-only-tests/no-only-tests": [
      "error", {
        "focus": ["only", "skip"]
      }
    ],