Skip to content

envylabs/eslint-config-envylabs

Repository files navigation

Envy Labs ESLint configuration

Opinionated linting configuration used across Envy Labs projects. Valid for JavaScript or TypeScript projects.

How to use

  1. Install the dependency
npm add -D eslint-config-envylabs
  1. Add it to your eslint.config.js:
import eslintConfigEnvylabs from "eslint-config-envylabs";

export default [
  // If you're using JavaScript
  ...eslintConfigEnvylabs.js,
  // ...or if you're using TypeScript. The TypeScript config includes the
  // JavaScript one, so you don't need to include both in that case.
  ...eslintConfigEnvylabs.ts,
  {
    // Your config here
  },
];

Also, you can use the full config, which includes the js, ts and very opinionated Envy Labs configs:

import eslintConfigEnvylabs from "eslint-config-envylabs";

export default [
  ...eslintConfigEnvylabs.full,
  {
    // Your config here
  },
];

What it does

About

ESLint configuration for Envy Labs projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •