Latipun ESLint
🥷 Nerdy Ninja's shareable ESLint configuration 👓
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:
- JavaScript CommonJS (ES6+ syntax)
- JavaScript ESM (ES6+ syntax)
- TypeScript
- React
- NextJS
- Jest
- Testing Library
- Monorepo
- Prettier
If you found weird behavior or suggestions, please file a new issue in this repo.
-
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" } }
MIT License © Latif Sulistyo