@netsells/eslint-config
Eslint config for the Netsells organisation
Last updated 4 months ago by sam.boylett .
ISC · Original npm · Tarball · package.json
$ cnpm install @netsells/eslint-config 
SYNC missed versions from official npm registry.

Netsells Logo

Netsells Eslint Config

This repository contains the defacto-standard eslint configuration used on all Netsells projects, both internally and client.

Usage

Add the config to your project dependencies:

yarn add @netsells/eslint-config eslint

Extend the config in your project. For example, a .eslintrc file in your project root:

{
  "extends": "@netsells"
}

With webpack

Add the eslint-loader to your project:

yarn add eslint-loader

Add the loader into your workflow. The following example will force the linter to be ran before other loaders such as babel compilation. This means we lint the raw ES6 code rather than the transpiled ES5 output:

{
    module: {
        rules: [
            {
                test:    /.(vue|js)$/,
                loader:  'eslint-loader',
                enforce: 'pre',
                exclude: /node_modules/,
            },
        ],
    },
},

Contributing

If you disagree with any rules in this linter, or feel additional rules should be added, please open an issue on this project to initiate an open dialogue with all team members. Please bear in mind this is a public repository.

Current Tags

  • 4.0.0                                ...           latest (a month ago)

28 Versions

  • 4.0.0                                ...           a month ago
  • 3.10.0                                ...           2 months ago
  • 3.9.0                                ...           2 months ago
  • 3.8.0                                ...           2 months ago
  • 3.7.4                                ...           4 months ago
  • 3.7.3                                ...           4 months ago
  • 3.7.2                                ...           4 months ago
  • 3.7.1                                ...           4 months ago
  • 3.7.0                                ...           4 months ago
  • 3.6.0                                ...           4 months ago
  • 3.5.0                                ...           4 months ago
  • 3.4.0                                ...           5 months ago
  • 3.3.0                                ...           5 months ago
  • 3.2.0                                ...           5 months ago
  • 3.1.0                                ...           5 months ago
  • 3.0.1                                ...           5 months ago
  • 3.0.0                                ...           5 months ago
  • 2.4.1                                ...           8 months ago
  • 2.4.0                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 1.8.0                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 8
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |