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

@typedash/eslint-config-typedash

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typedash/eslint-config-typedash

Eslint

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

@typedash/eslint-config-typedash

Centralized and shared ESLint configuration.

Install

npm install --save-dev @typedash/eslint-config-typedash
yarn add --dev @typedash/eslint-config-typedash

Usage: Monorepo

Using this package in the monorepo is slightly different than outside because we leverage a root level .eslintrc.js file that all the packages read from. So when you make a new package, you don't need to do anything related with that file, just make sure you have eslint and this package in your devDependencies list. Note, if you use hygen to generate your package, this is done for you and there's nothing you need to do to have eslint wired up.

package.json

{
  "devDependencies": {
    "@typedash/eslint-config-typedash": "1.0.0",
    "eslint": "8.9.0"
  }
}

Usage: External Project

After installing this dev dependency, you'll just need to make sure you also install eslint. After doing so, both should be in your devDependencies list (see above). From there, you'll just need to create an eslint configuration file and reference this package in your extends block.

.eslintrc.js

// @ts-ignore
module.exports = {
  extends: ['@typedash/eslint-config-typedash'],
}

Wire up some scripts to run eslint and you're all set!

package.json

{
  "scripts": {
    "lint": "eslint \"src/**/*.ts\"",
    "lint:fix": "yarn lint --fix"
  },
  "devDependencies": {
    "@typedash/eslint-config-typedash": "1.0.0",
    "eslint": "8.9.0"
  }
}

FAQs

Package last updated on 14 Nov 2022

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