@nice-move/eslint-config-base

    0.6.0 • Public • Published

    @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 package.json

    // example: package.json
    {
      "eslintConfig": {
        "extends": "@nice-move/eslint-config-base"
      }
    }

    Then run

    eslint --fix .

    Specification

    Environment pattern
    browser .js, .html
    node.js .mjs, .cjs
    es modules .mjs, .js, .html
    commonjs .cjs, source code in webpack project
    webpack src/**, packages/*/**
    ava {test,tests,spec,specs}/**, **/*.{test,spec}.*
    when eslint-plugin-ava installed

    Tips

    Noiseless reporting

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

    Related

    Install

    npm i @nice-move/eslint-config-base

    DownloadsWeekly Downloads

    293

    Version

    0.6.0

    License

    MIT

    Unpacked Size

    21.2 kB

    Total Files

    19

    Last publish

    Collaborators

    • airkro