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

@layerzerolabs/eslint-config-next

Package Overview
Dependencies
Maintainers
0
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layerzerolabs/eslint-config-next

LayerZero Eslint Config

  • 3.0.37-ton-uln.3
  • ton
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-6.19%
Maintainers
0
Weekly downloads
 
Created
Source

Usage

yarn add --dev @rushstack/eslint-patch @layerzerolabs/eslint-config-next

.eslintrc.js

require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
  extends: ['@layerzerolabs/eslint-config-next/recommended'],
};

Requirements

WARNING: normalizePackageName in @eslint/eslintrc requires that the format of the package name should be @layerzerolabs/eslint-config-next or eslint-config-layerzerolabs.

Configuration

  • use sort-imports and eslint-plugin-import to organize imports.
  • apply prettier with eslint-plugin-prettier and eslint-config-prettier.
  • mark ^@layerzerolabs/ as internal with import/internal-regex.
  • use pathGroups to put ^@layerzerolabs/** ahead of the internal group.
  • treat ['node_modules', '.yarn'] as external with import/external-module-folders.
  • list typescript projects under import/resolver.

Debug

set environment DEBUG=*

Keywords

FAQs

Package last updated on 22 Dec 2024

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