New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eslint-config-intech

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-intech

ESLint and Prettier Config for Intech Ventures

latest
Source
npmnpm
Version
2.0.8
Version published
Maintainers
1
Created
Source

Intech Ventures ESLint Config

This repository defines the ESLint and Prettier rules at Intech Ventures.

Adding to a new project

  • To use this in a new project simply install everything you need using the following command (works with yarn):
npx install-peerdeps --dev eslint-config-intech
  • Add the following ESLint configuration to the project's package.json. .eslintrc and .prettierrc files can be safely removed from the project.
"eslintConfig": {
  "extends": [
    "eslint-config-intech"
  ]
}

Usage with VSCode

  • Install the VSCode ESLint plugin
  • Since Prettier is automatically ran through ESLint, it does not have to be enabled in VSCode settings. Match your settings.json with this
{
  "editor.formatOnSave": true,

  // Do not automatically format JavaScript or JavaScript react, as this will be done by ESLint
  "[javascript]": { "editor.formatOnSave": false },
  "[javascriptreact]": { "editor.formatOnSave": false },
  "[typescript]": { "editor.formatOnSave": false },
  "[typescriptreact]": { "editor.formatOnSave": false },

  // Run ESLint on Save
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },

  "prettier.disableLanguages": ["javascript", "javascriptreact", "typescript", "typescriptreact"]
}

Keywords

javascript

FAQs

Package last updated on 17 Jun 2021

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