Socket
Socket
Sign inDemoInstall

@typeform/eslint-config

Package Overview
Dependencies
16
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @typeform/eslint-config

ESLint configuration for Typeform front-end projects


Version published
Weekly downloads
156
increased by11.43%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

eslint-config-typeform

ESLint configuration for Typeform front-end projects

Install

yarn add eslint @typeform/eslint-config --dev

Usage

If you want to use the default configuration, you can simply create a .eslintrc.js file (or alternatives) with the following content:

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

And run with:

yarn eslint . --fix

Using with prettier

If your codebase uses prettier for styles formatting, you can override default standard rules updating your eslint config:

module.exports = {
  extends: ['@typeform/eslint-config', 'prettier', 'prettier/react', 'plugin:prettier/recommended'],
}

and installing eslint-plugin-prettier:

yarn add --dev eslint-plugin-prettier

FAQs

Last updated on 23 Aug 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc