@redwerks/eslint-config-typescript

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i @redwerks/eslint-config-typescript

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

242 kB

Total Files

5

Last publish

Collaborators

  • dantman