0.1.0 • Published 2 years ago

eslint-config-testar-yaw v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-config-testar-yaw

Auto-versioned by bump-everywhere quality-checks GitHub action status publish GitHub action status bump-and-release GitHub action status

It turns off ESLint rules that makes you write worse code. It prevents your code to become more insecure or less maintainable. It makes you focus on your code and not on whether you are using right rules or not.

It mitigates security and maintainability risks from collections such as Airbnb, standard, eslint-config-alloy, Facebook (create-react-app, facebook/fbjs), Canonical, Spotify, Wikimedia XO.

It's based on article Linting trap:

It considers two aspects as more prioritized than others:

  1. Smaller security vulnerability surface.
  2. Easier changes in future.

Usage

  1. Install: npm install --save-dev eslint-config-testar-yaw

  2. Configure your project in .eslintrc.{js,yml,json} file:

      {
        // ...
        "extends": [
          // Other rules that activate rules
          // E.g. "airbnb", "canonical", "prettier"
          "testar-yaw" // Add last rule
        ]
      }

GitOps for this repository

GitOps development and publish flow