Kiwi Tooling is a very dear and hand-crafted front-end tooling preset that aims to guide you on writing readable code for humans.
For now, this presets are more focused in providing an easier DX for all kinds of projects that I find myself getting into. That's why it comes with plugins for jest
, svelte
, etc. The rules plugins won't be used if the project doesn't have its related tool installed.
- ES6+ by default
- React (optional, must install
react
) - Svelte (optional, must install
svelte
) - Typescript (optional, must install
typescript
) - Jest (optional, must install
jest
)
$ yarn add -D @kiwi/eslint-config @kiwi/prettier-config
.eslintrc:
{
"extends": "@kiwi",
// or
"extends": "@kiwi/svelte",
// or
"extends": "@kiwi/react"
}
.prettierrc:
"@kiwi/prettier-config"
(that's the whole .prettierrc
)