eslint-config-vtech

1.3.1 • Public • Published

eslint-config-vtech

The ESLint config used for front-end projects at V-Technologies.

This config is heavily based on eslint-config-airbnb, except for some custom rules which better fits our coding style.

Setup

Install the package and its peer dependencies:

npm install --save-dev eslint eslint-config-vtech babel-eslint eslint-plugin-babel eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y

Configure ESLint by adding .eslintrc at the root of your project:

{
    "extends": "vtech"
}

Use with webpack

npm install --save-dev eslint-loader

Then add in your webpack.config.js

{
    test: /\.js$/,
    exclude: /node_modules/,
    use: 'eslint-loader'
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-vtech

Weekly Downloads

3

Version

1.3.1

License

MIT

Unpacked Size

3.03 kB

Total Files

4

Last publish

Collaborators

  • fg
  • leimi