@redwerks/eslint-config-typescript
v1.0.1
Published
TypeScript extensions for @redwerks/eslint-config
Downloads
1
Maintainers
Readme
@redwerks/eslint-config-typescript
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,
},
};