eslint-config-everywhere
v4.1.1
Published
ESLint config for everywhere
Downloads
133
Maintainers
Readme
eslint-config-everywhere・
ESLint config for everywhere
Installation
yarn add -D eslint eslint-config-everywhere
Usage
In your ESLint config file, set the extends
property:
Configure
Base
{
"extends": "everywhere"
}
React
{
"extends": ["everywhere", "everywhere/react"]
}
TypeScript
{
"extends": ["everywhere", "everywhere/typescript"]
}
React + TypeScript
{
"extends": [
"everywhere",
"everywhere/react",
"everywhere/typescript"
]
}
Test(Jest + testing-library/react + Playwright)
{
"extends": ["everywhere/jest", "everywhere/testing-library-react", "everywhere/playwright"]
}
Test(Vitest + testing-library/react + Playwright)
{
"extends": ["everywhere/vitest", "everywhere/testing-library-react", "everywhere/playwright"]
}
Storybook
{
"extends": ["everywhere/storybook"]
}
All
{
"extends": [
"everywhere",
"everywhere/react",
"everywhere/typescript",
"everywhere/jest",
"everywhere/testing-library-react",
"everywhere/playwright",
"everywhere/storybook"
]
}
Run ESLint
eslint /path/to/your_source