Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.15 KB

File metadata and controls

38 lines (31 loc) · 1.15 KB

@redwerks/eslint-config-typescript

npm devDeps peerDeps

TypeScript extensions for @redwerks/eslint-config.

Usage

.eslintrc.js

module.exports = {
  root: true,
  env: {
    // Customize with the environments your project is run in
    // browser: true,
    // node: true,
  },
  extends: ['@redwerks/eslint-config', '@redwerks/eslint-config-typescript'],
};

Monorepo projects may need to configure tsconfigRootDir manually.

module.exports = {
  root: true,
  env: {
    // Customize with the environments your project is run in
    // browser: true,
    // node: true,
  },
  extends: ['@redwerks/eslint-config', '@redwerks/eslint-config-typescript'],
  parserOptions: {
    tsconfigRootDir: __dirname,
  },
};