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

eslint-config-rchl-typescript

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-rchl-typescript

Typescript eslint rules.

  • 2.0.0
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-rchl-typescript

Typescript eslint rules.

Installation

  1. First install either eslint-config-rchl-base or eslint-config-rchl-vue:
  2. Run
$ npm i -D eslint-config-rchl-typescript typescript
  1. Create .eslintrc.js configuration file in the root directory of your project.
module.exports = {
    extends: [
        'eslint-config-rchl-vue',  // or 'eslint-config-rchl-base'
        'eslint-config-rchl-typescript',
    ],
    overrides: [
        {
            files: ['*.ts'],
            parserOptions: {
                project: './tsconfig.json',
                tsconfigRootDir: __dirname,
            },
        },
    ],
};

NOTE: When using typescript rules, eslint configuration must be located in a .eslintrc.js file since it's necessary to use __dirname constant which can't be used in JSON or Yaml context.

FAQs

Package last updated on 01 Dec 2023

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