eslint-config-vtech
v1.3.1
Published
The ESLint config used at V-Technologies
Downloads
22
Readme
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'
}