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

@jungsoft/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jungsoft/eslint-config

Extensible shared config of JavaScript, ReactJS and React Native rules

  • 5.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
96
increased by182.35%
Maintainers
3
Weekly downloads
 
Created
Source

Eslint Config Jungsoft

Stars Forks Contributors NPM

This package provides extensible shared config of JavaScript, React and React Native rules

:pushpin: Table of Contents

:construction_worker: Installation

With Yarn

npx install-peerdeps --dev @jungsoft/eslint-config --yarn

With NPM

npx install-peerdeps --dev @jungsoft/eslint-config

And remove the peer-dependencies according to the shareable config that you're using, for instance, the typescript config won't need the eslint-import-resolver-typescript dependency

:pushpin: Usage

This package includes the following configurations:

Example:

Shareable config for JavaScript projects

{
  "extends": [
    "@jungsoft"
  ]
}

Shareable config for TypeScript projects

{
  "extends": [
    "@jungsoft",
    "@jungsoft/eslint-config/typescript"
  ]
}

Shareable config for React projects

{
  "extends": [
    "@jungsoft/eslint-config/react"
  ]
}

Shareable config for React Native projects

{
  "extends": [
    "@jungsoft/eslint-config/react-native"
  ]
}

And you can also override/add rules according to your needs

{
  extends: [
    "@jungsoft",
  ],
  plugins: ['react', 'jsx-a11y'],
  rules: {
    "react/prop-types": 1,
    "jsx-a11y/anchor-is-valid": ["warn", {
      components: ["Link"],
      specialLink: ["to"],
    }],
  }
}

:closed_book: License

This project is under the MIT license.

Made with love by Laura Beatris and contributors at Jungsoft 💜🚀

Keywords

FAQs

Package last updated on 18 Dec 2020

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