3.0.0 • Published 7 months ago

eslint-config-widen v3.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

eslint-config-widen

Widen's shared ESLint config.

Installation

yarn add -D eslint eslint-{config,plugin}-widen eslint-plugin-sort @babel/{core,eslint-parser}

# If you use TypeScript
yarn add -D @typescript-eslint/{eslint-plugin,parser}

# If you use React
yarn add -D eslint-plugin-{react,react-hooks,jsx-a11y}

# If you use Playwright
yarn add -D eslint-plugin-playwright

# If you use Jest
yarn add -D eslint-plugin-jest

Usage

In your .eslintrc file, add the following four entries to your extends list. If you don't need a specific configuration, simply remove it from the list.

{
  "extends": ["widen", "widen/typescript", "widen/react"],
  "overrides": [
    {
      "files": ["e2e/**"],
      "extends": "widen/playwright"
    },
    {
      "files": ["frontend/**/*.spec.js"],
      "extends": "widen/jest"
    }
  ]
}
3.0.0

7 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.1.0

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.7.0

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago