From 68b121ad328463e94a4f73ec11cf326e547e5203 Mon Sep 17 00:00:00 2001 From: Alvin Kristanto Date: Tue, 26 Mar 2019 12:05:53 +0700 Subject: [PATCH] fix(development): fix tslint exclude node_modules [skip ci] (#155) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a50d92f..e00ab621 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "watch": "lerna --stream --parallel --no-bail run watch", "clean:lib": "find packages -name lib -exec rm -rf {} +", "clean": "yarn lerna clean -y && rm -rf @types node_modules && yarn clean:lib", - "ts:lint": "tslint -c tslint.json 'packages/**/**.ts'", + "ts:lint": "tslint -c tslint.json 'packages/**/**.ts' --exclude \"node_modules/**/*.{j,t}s\" --exclude \"**/node_modules/**/*.{j,t}s\"", "lint": "yarn ts:lint", "pretty:fix": "prettier --config-precedence file-override --config .prettierrc --write 'packages/**/**+(.jsx|.tsx|.js|.ts)'", "test": "jest --config ./setup-test/jest.config.js --coverage",