Skip to content

Etiqa/eslint-config-etiqa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Etiqa: ESLint Configuration

Etiqa JavaScript ES6 Styles configuration for ESLint.

Usage

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

ESLint configuration

{
    "extends": "etiqa"
}

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": "etiqa"
    }
}

Webpack 2.x with eslint-loader

In your webpack configuration

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

About

Etiqa JavaScript ES6 Styles configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published