New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@heliofi/eslint-config-helio

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heliofi/eslint-config-helio

Helio eslint-config

  • 0.4.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
120
decreased by-16.67%
Maintainers
8
Weekly downloads
 
Created
Source

eslint-config-helio

Official Helio eslint config for all Helio projects.

The package extends Airbnb styling guidelines customized for Typescript projects.

Usage

This package exposes two plugins, one for react applications and one for Node.js applications. Install the package as a developer dependency:

yarn add -D eslint-config-helio

If the project doesn't have eslint installed with Airbnb config, make sure that those dependencies are installed

yarn add -D @typescript-eslint/eslint-plugin@ˆ5.13.0 \
            @typescript-eslint/parser@ˆ5.0.0 \
            @eslint \
            eslint-config-airbnb-base \
            eslint-config-airbnb-typescript \
            eslint-plugin-import

React

In order to use the plugin in a React project add the following to package json

"eslintConfig": {
    "extends": [
+     "helio/react"
    ],
+   "parserOptions": {
+     "project": "./tsconfig.json"
+   }
},

Node.js

Similarly to React, in Node projects add the helio plugin without react extension

"eslintConfig": {
    "extends": [
+     "helio"
    ],
+   "parserOptions": {
+     "project": "./tsconfig.json"
+   }
},

Note it's important to add parserOptions.project with project pointing to tsconfig.json

FAQs

Package last updated on 12 Jun 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