@alliance-software/eslint-config
Alliance Software eslint configuration
Last updated 2 years ago by davealliance .
BSD-3-Clause · Original npm · Tarball · package.json
$ cnpm install @alliance-software/eslint-config 
SYNC missed versions from official npm registry.

eslint-config

eslint for Alliance projects. For react projects see eslint-config-react

Usage

# yarn projects
yarn add @alliance-software/eslint-config

Create a `.eslintrc` with an `extends` rule that includes `alliance`, eg.

{ "extends" : [ "@alliance-software/eslint-config" ], "env" : { "browser" : true } }


In the `scripts` key in `package.json` add:

{ "lint": "eslint ./src", "lint:fix": "npm run lint -- --fix", }


where `./src` is the directory you want to run linting on.

## Changelog

* 4
    * 4.0.0
        * eslint 5+ dep
        * Remove deprecated parser options for use with babel7
* 3
    * 3.0.1
        * Broaden dependency ranges
    * 3.0.0
        * Breaking Changes
        * Upgrade to eslint 4
        * no-class-assign => off (HOC in React often reassign class)
        * import/no-named-as-default => off (export connected & unconnected components)
        * no-unused-vars => ignoreRestSiblings: true (destructure to exclude vars before passing on rest)

Current Tags

  • 4.0.0                                ...           latest (2 years ago)

1 Versions

  • 4.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |