Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

v-technologies/eslint-config-vtech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'
}

About

The ESLint config used at V-Technologies

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published