eslint-config-seedium
v1.0.22
Published
Seedium's ESLint configuration
Downloads
17
Readme
eslint-config-seedium
Eslint config that we use in Seedium
How to use
- Install config with eslint and eslint plugins
npm install -D eslint-config-seedium eslint eslint-plugin-react @typescript-eslint/parser @typescript-eslint/eslint-plugin
yarn add --dev eslint-config-seedium eslint eslint-plugin-react @typescript-eslint/parser @typescript-eslint/eslint-plugin
- Create own
.eslintrc
{
"extends": "seedium"
}
Using with prettier
To use with prettier you should follow this steps:
Create file
.prettierc
Our configuration:
{
singleQuote: true,
semi: true,
jsxSingleQuote: true,
trailingComma: 'es5',
arrowParens: 'always',
printWidth: 80,
proseWrap: 'never',
};
- Install eslint-config-prettier:
yarn add --dev eslint-config-prettier
- Update your
.eslintrc
:
{
"extends": ["seedium", "prettier"]
}