Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.8 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.8 KB

eslint-config-cantonjs-resolver

Build Status

ESLint shareable config for the Cantonjs, with import/resolver

Installation

$ npm install --save-dev eslint eslint-config-cantonjs-resolver

You may also need to add babel-plugin-module-resolver and webpack

Usage

Once the eslint-config-cantonjs-resolver package is installed, you can use it by specifying cantonjs-resolver in the extends section of your ESLint configuration.

{
  "extends": "cantonjs-resolver",
  "rules": {
    // Additional, per-project rules...
  }
}

Note You may also need to config babel-plugin-module-resolver and webpack resolve to make resolvers work

Configures / Extends

Related Projects

License

MIT © Cantonjs