cantonjs / eslint-config-cantonjs-resolver

ESLint shareable config for the Cantonjs JavaScript style guide with resolver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

ESLint shareable config for the Cantonjs JavaScript style guide with resolver

License:MIT License


Languages

Language:JavaScript 100.0%