Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
eslint-config-vstg
Advanced tools
[![npm version](https://badge.fury.io/js/eslint-config-vstg.svg)](http://badge.fury.io/js/eslint-config-vstg)
This package provides Vivint Solar Technology Group's .eslintrc as an extensible shared config.
We export multiple ESLint configurations for your usage.
See ESlint config docs for more information.
Our default export contains all of our ESLint rules, including ECMAScript 6.
npm install --save-dev eslint-config-vstg
"extends": "vstg"
to your .eslintrcThis export is used for all raw browser-based code, not including code using webpack or other transpiling mechanisms. It should require support for our current browser support matrix.
Add "extends": "vstg/browser"
or "extends": [ "vstg", "vstg/browser"]
to your .eslintrc
This export is used for all lambda-based code. The only difference it it sets the Node version to 4.x, since that's what Lambda supports.
Add "extends": "vstg/lambda"
or "extends": [ "vstg", "vstg/lambda"]
to your .eslintrc
This export is easy for all testing code. It adds the mocha
, jest
, and jasmine
environments, and it allows things like magic numbers, and console.logs.
Add "extends": "vstg/testing"
or "extends": [ "vstg", "vstg/testing"]
to the .eslintrc in your testing directory
This export is used for implementations that support Harmony Modules (so probably Babel).
Add "extends": "vstg/modules"
or "extends": [ "vstg", "vstg/modules"]
to your .eslintrc
This export is used for React.js implementations. They should also be using Babel/Webpack or something for delivery, so it includes Harmony Modules.
Add "extends": "vstg/react"
or "extends": [ "vstg", "vstg/react"]
to your .eslintrc
Yeah, how?
FAQs
[![npm version](https://badge.fury.io/js/eslint-config-vstg.svg)](http://badge.fury.io/js/eslint-config-vstg)
The npm package eslint-config-vstg receives a total of 4 weekly downloads. As such, eslint-config-vstg popularity was classified as not popular.
We found that eslint-config-vstg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.