@wildpeaks/eslint-config-commonjs

15.7.0 • Public • Published

ESLint Config: CommonJS

Github Release

Settings for ES2018 Javascript projects using CommonJS modules.

This is best suited for Node 14+ scripts.


Quickstart

Install the config:

npm install @wildpeaks/eslint-config-commonjs --save-dev

Reference it in your package.json:

{
  "eslintConfig": {
    "extends": "@wildpeaks/eslint-config-commonjs"
  }
}

or in .eslintrc.json:

{
  "extends": "@wildpeaks/eslint-config-commonjs"
}

Prettier

This configuration is compatible with @wildpeaks/prettier-config.

Package Sidebar

Install

npm i @wildpeaks/eslint-config-commonjs

Weekly Downloads

4

Version

15.7.0

License

MIT

Unpacked Size

8.33 kB

Total Files

3

Last publish

Collaborators

  • cecilemuller