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

@sikt/eslint-config-sds

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sikt/eslint-config-sds

The config includes a strict but sensible set of ESLint rules, including the following plugins:

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
161
decreased by-24.06%
Maintainers
0
Weekly downloads
 
Created
Source

@sikt/eslint-config-sds

The config includes a strict but sensible set of ESLint rules, including the following plugins:

  • eslint-plugin-react
  • eslint-plugin-jsx-a11y
  • @typescript-eslint/eslint-plugin

The TypeScript ESLint plugin has typechecking enabled with both strict and stylistic rulesets.

Consume

npm i -D @sikt/eslint-config-sds

Extend

In .eslintrc.js:

"eslintConfig": {
  "extends": ["@sikt/eslint-config-sds"]
}

If your tsconfig.json is not in the same folder as your ESLint configuration file, you may also need to configure that.

{
  "parserOptions": {
    "project": ["./path/to/tsconfig.json"]
  }
}

If you are linting files that are not covered by your tsconfig.json file, you may get a warning. You can solve this by including them in the TypeScript config, excluding the files from linting or by conditionally disabling typechecking by extending from plugin:@typescript-eslint/disable-type-checked by using overrides.

FAQs

Package last updated on 23 Aug 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