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

@sachinahya/eslint-config-myconfig

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sachinahya/eslint-config-myconfig

An ESLint config that I use in all of my projects. Contains rules for JavaScript, TypeScript and React.

  • 0.2.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-myconfig

An ESLint config that I use in all of my projects. Contains rules for JavaScript, TypeScript and React.

Installation

npm install --save-dev @sachinahya/eslint-config-myconfig

Usage

Extend one or more of the presets below in your ESLint config file.

{
  "extends": ["myconfig/typescript", "myconfig/react"]
}

Presets

myconfig or myconfig/javascript

Enables JavaScript-related rules.

Peer dependencies: eslint-plugin-sonarjs, eslint-plugin-jsdoc

myconfig/typescript

Enables TypeScript linting rules. Also enables the myconfig/javascript preset.

Peer dependencies: @typescript-eslint/eslint-plugin, @typescript-eslint/eslint-parser

myconfig/typescript-type-checking

Used in addition with myconfig/typescript, adds rules requiring type checking. Does not require any additional dependencies.

Assumes your tsconfig.json is located in the same directory as your ESLint config. You can customise this if you need to.

myconfig/react

Enables rules for linting React code.

Peer dependencies: eslint-plugin-react, eslint-plugin-react-hooks, eslint-plugin-jsx-a11y

FAQs

Package last updated on 07 Mar 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