Menu
eslint-config-sc-all#
This package uses the following packages depending on the configuration.
So you don't have to worry about which packages you need.
- eslint-config-sc-jest
- eslint-config-sc-js
- eslint-config-sc-next
- eslint-config-sc-react
- eslint-config-sc-storybook
- eslint-config-sc-ts
Usage#
Installation#
1$ npm i -D eslint-config-sc-all
Setup#
1// eslint.config.mjs
2import eslintConfigSCAll from "eslint-config-sc-all"
3
4return [
5 eslintConfigSCAll.getConfigs("typescript", ["react", "next", "jest", "storybook"]),
6].flat()
7
Arguments#
- First ( required ) - string
javascript
|typescript
- Second ( optional ) - string array
jest
react
next
storybook