README
ESLint config
Opinionated ESLint shareable configs.
Rulesets
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 |
Dependency tree
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ core │ │ json │ │ jsdoc │
└────────────────┘ └────────────────┘ └────────────────┘
│ │
│ │
┌─────────────────┴─────────────────┐ │
│ │ │
│ │ │
▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ browser │ │ node │ │ package │
└────────────────┘ └────────────────┘ └────────────────┘
│ │ ╲ ╱
│ │ ‾‾╲ ╱‾‾
┌──────────┴──────────┐ │ ‾‾╲ ╱‾‾
│ │ │ ‾‾╲ ╱‾‾
│ │ │ ‾‾╲ ╱‾‾
▼ ▼ ▼ ▼
┌────────────────┐ ┌────────────────┐ ┌────────────────┐ ┌────────────────┐
│ nwayo │ │ react │ │ test │ │ node-package │
└────────────────┘ └────────────────┘ └────────────────┘ └────────────────┘
│
│
┌──────────┴──────────┐
│ │
│ │
▼ ▼
┌────────────────┐ ┌────────────────┐
│ pwastudio │ │ spire │
└────────────────┘ └────────────────┘
Install
$ npm install @absolunet/eslint-config-[RULESET]
Usage
Add some ESLint config to your .eslintrc.yaml
:
extends: '@absolunet/[RULESET]'
Used plugins
- eslint-plugin-unicorn - Various awesome rules
Used configuration
- eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.
Related
- prettier-config - Opinionated Prettier shareable configs which are used with these ESLint configurations.
Documentation
See the full documentation for an in-depth look.
See the Changelog to see what has changed.
Contribute
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.