Skip to content

Latest commit

 

History

History

eslint-config-typescript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@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,
  },
};