eslint-config-berkekaragoz
v0.4.3
Published
ESLint configuration aimed to have balanced aspects.
Downloads
6
Readme
Install:
- NPM:
npm i -D eslint-config-berkekaragoz
- Yarn:
yarn add -D eslint-config-berkekaragoz
- PNPM:
pnpm i -D eslint-config-berkekaragoz
eslint-config-berkekaragoz
ESLint configuration aimed to have balanced aspects. Would love to hear your feedback.
Wait for version 1.
Usage
For all:
extends:
- berkekaragoz
For React and Typescript:
extends:
- berkekaragoz/react-typescript
For React and JavaScript:
extends:
- berkekaragoz/react
Prettier config, package.json
:
"prettier": "eslint-config-berkekaragoz-formatting/prettier"
VSCode Settings
If you are facing with conficts, you should add these to /.vscode/settings.json
.
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.format.enable": true,
"editor.formatOnSave": true,
"indentRainbow.ignoreErrorLanguages": ["*"],
"indentRainbow.colorOnWhiteSpaceOnly": true
}
Contents:
ESLint configs:
berkekaragoz
berkekaragoz/formatting
berkekaragoz/suggestions
berkekaragoz/typescript
berkekaragoz/react
berkekaragoz/react-typescript
All (berkekaragoz
):
{
extends: [
"eslint:recommended",
"berkekaragoz-react",
"berkekaragoz-typescript",
"berkekaragoz-suggestions",
"berkekaragoz-react/formatting",
"berkekaragoz-formatting",
],
rules: {
"no-constant-condition": "warn",
},
};