@latipun7/eslint-config π₯·π
Latipun ESLint
π₯· Nerdy Ninja's shareable ESLint configurationπ
About
This shareable eslint
configuration is heavily inspired by Airbnb JavaScript Style Guide.
This configuration is designed to be flexible across multiple projects. It supports the following projects:
- [x] JavaScript CommonJS (ES6+ syntax)
- [x] JavaScript ESM (ES6+ syntax)
- [x] TypeScript
- [x] React
- [x] NextJS
- [x] Jest
- [x] Testing Library
- [x] Monorepo
- [x] Prettier
If you found weird behavior or suggestions, please file a new issue in this repo.
Getting started
-
Install eslint and this config as one of your project's
devDependencies
:yarn add -D eslint @latipun7/eslint-config
-
Extend this config in your eslint configuration files:
.eslintrc.js
module.exports = { extends: "@latipun7", rules: { // your overrides }, };
package.json
{ "eslintConfig": { "extends": "@latipun7" } }
π§βπ» πΆ
Hacking to the Gate~! MIT License Β© Latif Sulistyo