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

eslint-config-sensible-prettier-typescript

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-sensible-prettier-typescript

Sensible default eslint rules and prettier rules for Typescript projects

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-31.58%
Maintainers
0
Weekly downloads
 
Created
Source

eslint-config-sensible-prettier-typescript

Sensible default eslint rules and prettier rules for Typescript projects

Install

npm i -D eslint-config-sensible-prettier-typescript

Or you can get it installed through handy-common-utils/dev-dependencies:

npm i -D @handy-common-utils/dev-dependencies-mocha
npm i -D @handy-common-utils/dev-dependencies-jest

Usage

In your .eslintrc.js:

/* eslint-disable unicorn/prefer-module, node/no-extraneous-require, unicorn/prefer-module */

require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
  extends: [
    'sensible-prettier-typescript',
  ],
  parserOptions: { tsconfigRootDir: __dirname },
  // place your customisation here
};

Or in your .eslintrc.json:

{
    "extends": "sensible-prettier-typescript"
}

And in your prettier.config.js or .prettierrc.js:

const config = require('eslint-config-sensible-prettier-typescript/prettier.config');
module.exports = {
  ...config,
  // place your customisation here
};

Develop

Upgrade all dependencies:

npx npm-check-updates -u && npm install && npm audit fix

Keywords

FAQs

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