ESLint config for everywhere
yarn add -D eslint eslint-config-everywhere
In your ESLint config file, set the extends
property:
{
"extends": "everywhere"
}
{
"extends": ["everywhere", "everywhere/react"]
}
{
"extends": ["everywhere", "everywhere/typescript"]
}
{
"extends": [
"everywhere",
"everywhere/react",
"everywhere/typescript"
]
}
{
"extends": ["everywhere/jest", "everywhere/testing-library-react", "everywhere/playwright"]
}
{
"extends": ["everywhere/vitest", "everywhere/testing-library-react", "everywhere/playwright"]
}
{
"extends": ["everywhere/storybook"]
}
{
"extends": [
"everywhere",
"everywhere/react",
"everywhere/typescript",
"everywhere/jest",
"everywhere/testing-library-react",
"everywhere/playwright",
"everywhere/storybook"
]
}
eslint /path/to/your_source