Show More
Commit Commit message Age Author Refs
r4:d41cf0b739a9
Upgraded deps
0
r3:2a5ac2388ea9
Updated deps and removed private registry
0
r2:560e8184a1ce
Updated README
0
r1:c766708b742e
Updated README and package.json
0
r0:a1ed0f0b2940
Initial commit
0
< 1 >

@webb/config-eslint

Opinionated ESLint configuration

Install

# Install this module, with ESLint
$ npm i @webb/config-eslint eslint -D

Usage

{
  // Default configuration
  extends: "./node_modules/@webb/config-eslint"
  // When parsing ES2015+
  extends: "./node_modules/@webb/config-eslint/dist/esnext.js"
  // When parsing for the browser
  extends: "./node_modules/@webb/config-eslint/dist/browser.js"
}

package.json

{
  "eslintConfig": {
    extends: "./node_modules/@webb/config-eslint"
  }
}

eslintrc.js

module.exports = exports = {
  extends: "./node_modules/@webb/config-eslint"
};