JSPM

  • Created
  • Published
  • Downloads 277
  • Score
    100M100P100Q100506F
  • License MIT

A `eslint` config for best practice

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nice-move/eslint-config-base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @nice-move/eslint-config-base eslint

    A eslint config for best practice.

    npm github node

    Installation

    npm install eslint @nice-move/eslint-config-base --save-dev

    Usage

    Add to eslint.config.mjs

    // example: eslint.config.mjs
    export { default } from '@nice-move/eslint-config-base';

    Then run

    eslint --fix .

    Specification

    Environment pattern
    browser .js, .html
    node.js .mjs, .mts, .cjs, .cts
    es modules .mjs, .mts, .js, .html
    commonjs .cjs, source code in webpack project

    Tips

    Noiseless reporting

    Rules can handle by prettier and garou is disabled by default.