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

eslint-config-reach-dragonfly

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-reach-dragonfly

> TODO: description

  • 5.0.6-alpha.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-reach-dragonfly

Standard eslint setup for dragonfly project

Install

yarn add -D eslint eslint-formatter-table eslint-import-resolver-babel-module eslint-import-resolver-node eslint-import-resolver-typescript

So this sets up basic linting for Reach projects. It has specific rules for typescript and jest.

Rules & plugins

Javascript

  • eslint-config-airbnb-base
  • eslint-config-prettier
  • @babel/eslint-plugin
  • eslint-plugin-import

React

Typescript

Jest

Usage

In your .eslintrc.js file add:

const { resolve } = require('path');

module.exports = {
  extends: 'eslint-config-reach-dragonfly',
  rules: {
    // Project specific rules here...
  },
};

Please note if you are using js, it will expect a babel.config.js in the root of the project.

For typescript ensure you have tsconfig.json

Copyright (c) 2022 "Reach Shared Services Ltd"

FAQs

Package last updated on 17 Aug 2023

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