From 34121b92d5925213c30ecb09f10bcd27108be4ca Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Thu, 26 Nov 2020 13:00:20 -0800 Subject: [PATCH] Update .eslintrc.js --- .eslintrc.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index abc1763..067c4f4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,12 +1,14 @@ -console.log(__dirname); - module.exports = { root: true, parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2018, sourceType: 'module', - project: './tsconfig.base.json', + project: [ + './tsconfig.base.json', + './**/tsconfig.?*.json', + ], + projectFolderIgnoreList: ['**/node_modules/**'], tsconfigRootDir: __dirname, }, ignorePatterns: ['**/*'], @@ -54,19 +56,11 @@ module.exports = { { files: ['*.ts', '*.tsx'], extends: ['plugin:@nrwl/nx/typescript'], - parserOptions: { - project: './**/tsconfig.?*.json', - tsconfigRootDir: __dirname, - }, rules: {}, }, { files: ['*.js', '*.jsx'], extends: ['plugin:@nrwl/nx/javascript'], - parserOptions: { - project: './**/tsconfig.?*.json', - tsconfigRootDir: __dirname, - }, rules: {}, }, ],