📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

eslint-config-rohan

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-rohan

A shareable ESLint config for TypeScript projects.

1.0.1
latest
npm
Version published
Maintainers
1
Created
Source

ESLint config for TypeScript

A shareable ESLint config for TypeScript projects.

Development

Run npm install to install the project dependencies.

Publishing a new version

  • Run npm version patch (replace patch as necessary) to increase the version number.
  • Run git push && git push --tags to push the version commit and tag.
  • Run npm publish to publish the new version.

Unused rules

Has issues

Too strict

  • @typescript-eslint/no-extra-parens – extra parentheses sometimes aid readability.
  • @typescript-eslint/no-magic-numbers – difficult to follow, especially in existing projects.
  • @typescript-eslint/no-type-alias – partly handled by @typescript-eslint/consistent-type-definitions.
  • @typescript-eslint/prefer-readonly – team decision.

Handled by TypeScript

  • @typescript-eslint/no-unused-varsnoUnusedLocals and noUnusedParameters.
  • @typescript-eslint/typedefnoImplicitAny.
  • getter-return – ts(2378).
  • no-dupe-args – ts(2300).
  • no-dupe-keys – ts(1117).
  • no-func-assign – ts(2539).
  • no-import-assign – ts(2539).
  • no-unreachable – ts(7027).
  • valid-typeof – ts(2367).

Unnecessary

  • no-async-promise-executor – unnecessary with @typescript-eslint/no-misused-promises.

Used rules with issues

FAQs

Package last updated on 02 Jan 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