Socket
Socket
Sign inDemoInstall

@guildeducationinc/eslint-config-guild-typescript

Package Overview
Dependencies
0
Maintainers
184
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @guildeducationinc/eslint-config-guild-typescript

Guild Education React + TypeScript style guide.


Version published
Maintainers
184
Install size
13.6 kB
Created

Readme

Source

Guild Eslint Config

semantic-release Commitizen friendly

working with this repo


At Guild, our JavaScript style is based on JavaScript Standard Style with a few exceptions:

In addition to JavaScript Standard Style, we also extend:

  • plugin:@typescript-eslint/recommended
  • plugin:jsx-a11y/recommended
  • plugin:react/recommended
  • plugin:jest/recommended
  • plugin:testing-library/react
  • plugin:react-hooks/recommended
  • plugin:prettier/recommended

Install Config npm version

To install the typescript config, run:

yarn add -D @guildeducationinc/eslint-config-guild-typescript

Install the peer dependencies

yarn add prettier@2.7.1 @typescript-eslint/eslint-plugin@5.39.0 @typescript-eslint/parser@5.39.0 eslint@8.24.0 eslint-config-prettier@8.5.0 eslint-config-standard@17.0.0 eslint-plugin-cypress@2.12.1 eslint-plugin-import@2.26.0 eslint-plugin-jest@27.1.1 eslint-plugin-jsx-a11y@6.6.1 eslint-plugin-n@15.0.0 eslint-plugin-node@11.1.0 eslint-plugin-prettier@4.2.1 eslint-plugin-promise@6.0.1 eslint-plugin-react@7.31.8 eslint-plugin-react-hooks@4.6.0 eslint-plugin-testing-library@5.7.2 prettier@2.7.1 -D

Usage

Extend your eslint config with the installed guild config.

For typescript:

{
  "extends": "@guildeducationinc/eslint-config-guild-typescript"
}

Code Climate Usage

In your projects .codeclimate.yml config, add the appropriate config:

prepare:
  fetch:
  # For typescript
+    - url: 'https://cdn.jsdelivr.net/npm/@guildeducationinc/eslint-config-guild-typescript@{version}'
+      path: '.eslintrc.js'

plugins:
+ eslint:
+  enabled: true
+  channel: eslint-5

FAQs

Last updated on 06 Oct 2022

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