@absolunet/eslint-config-node

ESLint config for Node.js

Usage no npm install needed!

<script type="module">
  import absolunetEslintConfigNode from 'https://cdn.skypack.dev/@absolunet/eslint-config-node';
</script>

README

ESLint config

Tests Lerna

Opinionated ESLint shareable configs.

Rulesets

Package Version Description Documentation
@absolunet/eslint-config-core npm Core rules docs
@absolunet/eslint-config-node npm Node.js rules docs
@absolunet/eslint-config-test npm Testing rules docs
@absolunet/eslint-config-browser npm Browser rules docs
@absolunet/eslint-config-nwayo npm nwayo rules docs
@absolunet/eslint-config-react npm React rules docs
@absolunet/eslint-config-jsdoc npm JSDoc rules docs
@absolunet/eslint-config-package npm Package rules docs
@absolunet/eslint-config-node-package npm Node.js package rules docs
@absolunet/eslint-config-json npm JSON rules docs
- - - -
@absolunet/eslint-loader npm 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

Used configuration

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.

License

MIT © Absolunet