1.1.1 • Published 6 years ago

eslint-config-anb v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-config-anb

===================

Installation

Install ESLint either locally or globally.

$ npm install eslint --save-dev

If you installed ESLint, Otherwise, install it locally.

$ npm install eslint-config-anb --save-dev

Why Use babel-eslint

You only need to use babel-eslint if you are using types (Flow) or experimental features not supported in ESLint itself yet. Otherwise try the default parser (you don't have to use it just because you are using Babel).

Configuration

Use to get reasonable defaults:

  module.exports = {
    "extends": "anb",
    "rules": {
    },
    "env": {
    }
}

react

  module.exports = {
    "extends": "anb/react",
    "rules": {
    },
    "env": {
    }
}

vue

  module.exports = {
    "extends": "anb/vue",
    "rules": {
    },
    "env": {
    }
}