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

eslint-config-vighnesh153

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-vighnesh153

ESLint's configuration based on my preferences. No need to install any additional deps like `eslint` as this package comes bundled with it.

  • 0.4.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27
increased by2600%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-vighnesh153

npm (scoped) GitHub GitHub issues

ESLint's configuration based on my preferences. No need to install any additional deps like eslint as this package comes bundled with it.

This only works within a Typescript project

Prerequisites

  • Install and configure typescript
npm install -D typescript
  • Create tsconfig.json file

You can also look at my @vighnesh153/tsconfig package

Installation

npm install -D eslint-config-vighnesh153

Usage

  • Add the following to your .eslintrc.js file
module.exports = {
  extends: ['vighnesh153/ts-base.eslintrc'],
  parserOptions: {
    project: './tsconfig.json',
  },
};
  • Create a .eslintignore file and add the following to it
*.js

Variants

You can use different variants of the configurations in different types of projects

  • Pure typescript project
module.exports = {
  extends: ['vighnesh153/ts-base.eslintrc'],
  parserOptions: {
    project: './tsconfig.json',
  },
};
  • ReactJS typescript library
module.exports = {
  extends: ['vighnesh153/react-ts-library.eslintrc'],
  parserOptions: {
    project: './tsconfig.json',
  },
};
  • NextJS typescript app
module.exports = {
  extends: ['vighnesh153/next-ts.eslintrc'],
  parserOptions: {
    project: './tsconfig.json',
  },
};

Keywords

FAQs

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