Add tsconfig.json for common

This commit is contained in:
Marshall Polaris 2022-05-24 13:16:08 -07:00
parent 3987baa11b
commit 7d1131aa6f
2 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,10 @@ module.exports = {
files: ['**/*.ts'], files: ['**/*.ts'],
plugins: ['@typescript-eslint'], plugins: ['@typescript-eslint'],
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
}, },
], ],
rules: { rules: {

12
common/tsconfig.json Normal file
View File

@ -0,0 +1,12 @@
{
"compilerOptions": {
"baseUrl": "../",
"moduleResolution": "node",
"noImplicitReturns": true,
"outDir": "lib",
"sourceMap": true,
"strict": true,
"target": "es2017"
},
"include": ["**/*.ts"]
}