You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-config-vtech

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-vtech

The ESLint config used at V-Technologies

1.3.1
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 16 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts