Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Labrys-Group/eslint-config-labrys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deprecated as we are running with the t3 eslint rules

eslint-config-labrys

Description

Config for Typescript projects at Labrys which incorporates AirBnb, Shopify, prettier, and React Hook configs.

Usage

1. Install package and dependencies

If you have npm 5+ installed on your machine, use this shortcut

npx install-peerdeps --dev eslint-config-labrys -Y -x "-W"

Otherwise, run npm info "eslint-config-labrys@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version> for each listed peer dependency.

2. Create ESLint Config

Create a file named .eslintrc.js and add the following for a React project:

module.exports = {
  extends: "eslint-config-labrys",
  parser: "@typescript-eslint/parser",
};

and for a non-React project:

module.exports = {
  extends: "eslint-config-labrys/base",
  parser: "@typescript-eslint/parser",
};

Improving this config

See CONTRIBUTING.md in the GitLab repo for a guide on how to contribute to this config.

About

🛠️ The eslint config used at Labrys. PRs are welcome.

Topics

Resources

Contributing

Stars

Watchers

Forks

Contributors