2.0.0 • Published 7 years ago

eslint-config-civa86 v2.0.0

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

JavaScript ES6 Style Configuration

ES6 Style Configuration for ESLint.

Usage

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

ESLint configuration

{
    "extends": "civa86"
}

Webpack 1.x with eslint-loader

eslint-loader will search configuration in

  • .eslintrc file at the root of the project
  • eslintConfig property inside package.json

Example: package.json

{
    "eslintConfig": {
        "extends": "civa86"
    }
}

Webpack 2.x with eslint-loader

In your webpack configuration

module.exports = {
  // ...
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: "eslint-loader",
        options: {
          extends: "civa86"
        }
      },
    ],
  },
  // ...
}