Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-yara

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-yara

Yara Digital Labs JavaScript Style Guide

  • 2.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
108
decreased by-34.15%
Maintainers
8
Weekly downloads
 
Created
Source

Yara Digital Labs JavaScript Style Guide

Usage

We export two ESLint configurations for your usage, vanilla JavaScript and React.

Yara Digital Labs JavaScript Style Guide

Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint, eslint-config-react, eslint-plugin-react, eslint-plugin-jest.

  1. Install package:
npm install --save-dev eslint-config-yara

Alternatively you can use:

yarn add eslint-config-yara --dev
  1. For vanilla JavaScript add "extends": "yara" to your .eslintrc.

  2. For React add "extends": "yara/react" to your .eslintrc.

To check our rules on vanilla JavaScript lint.

To check our rules on React lint.

Release process

To generate a new release you need to be an admin to push on master.

We are using a semantic version to generate a new release: major, minor and patch, with a npm version.

On branch master execute:

git checkout master

Generate a new tag:

git pull --tags origin master
npm version major|minor|patch -m "Message about what is new in that release"

After create a new verstion:

npm publish

👍 Done

FAQs

Package last updated on 31 Aug 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc