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

@seamly/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seamly/eslint-config

Default eslint-config used within @seamly implementations

  • 3.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

Seamly eslint-config

This is the default eslint configuration for @seamly/* implementations.

Installation

yarn add -D @seamly/eslint-config
// or
npm install -D @seamly/eslint-config

Usage

This package can be used as @seamly/eslint-config following the Eslint documentation on Extending configuration files.

Editing .eslintrc.js
module.exports = {
  ...
  extends: [
    '@seamly/eslint-config'
  ]
  ...
}

Usage with React

For react-specific defaults, the package exports a react-ruleset which implements eslint-plugin-react and eslint-plugin-react-hooks, including:

  • react-hooks/rules-of-hooks
  • react-hooks/exhaustive-deps

This ruleset implements on top of the default @seamly/eslint-config.

module.exports = {
  ...
  extends: [
    '@seamly/eslint-config/react'
  ]
  ...
}

Usage in a webpack environment

For webpack-specific defaults, the package exports a webpack-ruleset which implements eslint-import-resolver-webpack.

This ruleset implements on top of the default @seamly/eslint-config.

module.exports = {
  ...
  extends: [
    '@seamly/eslint-config/webpack'
  ]
  ...
}

Keywords

FAQs

Package last updated on 05 Sep 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