Opinionated ESLint shareable configs.
Package | Version | Description | Documentation |
---|---|---|---|
@absolunet/eslint-config-core | Core rules | docs | |
@absolunet/eslint-config-node | Node.js rules | docs | |
@absolunet/eslint-config-test | Testing rules | docs | |
@absolunet/eslint-config-browser | Browser rules | docs | |
@absolunet/eslint-config-nwayo | nwayo rules | docs | |
@absolunet/eslint-config-react | React rules | docs | |
@absolunet/eslint-config-jsdoc | JSDoc rules | docs | |
@absolunet/eslint-config-package | Package rules | docs | |
@absolunet/eslint-config-node-package | Node.js package rules | docs | |
@absolunet/eslint-config-json | JSON rules | docs | |
- | - | - | - |
@absolunet/eslint-loader | Config loader | docs |
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ core │ │ json │ │ jsdoc │
└────────────────┘ └────────────────┘ └────────────────┘
│ │
│ │
┌─────────────────┴─────────────────┐ │
│ │ │
│ │ │
▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ browser │ │ node │ │ package │
└────────────────┘ └────────────────┘ └────────────────┘
│ │ ╲ ╱
│ │ ‾‾╲ ╱‾‾
┌──────────┴──────────┐ │ ‾‾╲ ╱‾‾
│ │ │ ‾‾╲ ╱‾‾
│ │ │ ‾‾╲ ╱‾‾
▼ ▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ nwayo │ │ react │ │ test │ │ node-package │
└────────────────┘ └────────────────┘ └────────────────┘ └────────────────┘
│
│
┌──────────┴──────────┐
│ │
│ │
▼ ▼
┌────────────────┐ ┌────────────────┐
│ pwastudio │ │ spire │
└────────────────┘ └────────────────┘
$ npm install @absolunet/eslint-config-[RULESET]
Add some ESLint config to your .eslintrc.yaml
:
extends: '@absolunet/[RULESET]'
- eslint-plugin-unicorn - Various awesome rules
- eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.
- prettier-config - Opinionated Prettier shareable configs which are used with these ESLint configurations.
See the full documentation for an in-depth look.
See the Changelog to see what has changed.
See the Contributing Guidelines for ways to get started.
See the Support Guide for ways to get help.
See the Security Policy for sharing vulnerability reports.
This project has a Code of Conduct. By interacting with this repository, organization, or community you agree to abide by its terms.