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

eslint-config-ts-strict

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-ts-strict

Very strict ESLint config for projects using TypeScript, React and Prettier

  • 1.4.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
421
increased by67.73%
Maintainers
0
Weekly downloads
 
Created
Source

ts-strict-eslint-config

Strongly opinionated ESLint config for projects using TypeScript, React and Prettier.

Installation

Install my-project with npm or yarn

npm i eslint-config-ts-strict
yarn add eslint-config-ts-strict --dev

Usage/Examples

After installing the package, you can use it in your ESLint configuration file by extending the ts-strict configuration:

{
  "extends": ["ts-strict", "plugin:prettier/recommended"],
  "parserOptions": {
    "project": "./tsconfig.json",
    "ecmaVersion": "latest"
  }
}

configuration

The ts-strict configuration extends the following ESLint configurations:

  • eslint:recommended
  • plugin:@typescript-eslint/recommended
  • plugin:@typescript-eslint/recommended-requiring-type-checking
  • plugin:import/recommended
  • plugin:import/typescript
  • plugin:jsx-a11y/recommended

It also includes additional rules to enforce strict coding standards. The individual rule sets are located in the rules/ directory and can be extended separately if desired.

Contributing

Contributions are always welcome!

If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request.

Keywords

FAQs

Package last updated on 20 Oct 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