Skip to content

Commit

Permalink
fix(lint): update tslint rules for changes in preset
Browse files Browse the repository at this point in the history
tslint-microsoft-contrib introduced some changes to account for.
Until we migrate to ESLint for the project, it is better to turn
them off for now.
  • Loading branch information
swashata committed Feb 12, 2019
1 parent c5fd878 commit 6261073
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"build:js": "babel ./src --out-dir lib --extensions '.ts,.tsx'",
"build:types": "tsc --emitDeclarationOnly",
"build": "yarn clean && yarn build:types && yarn build:js",
"lint": "tslint --project './tsconfig.json'",
"lint": "tslint --project './tsconfig.json' --format verbose",
"test": "jest --color",
"prepare": "cross-env NODE_ENV=production yarn build"
},
Expand Down
10 changes: 9 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@
"no-require-imports": false,
"no-suspicious-comment": false,
"max-func-body-length": false,
"newline-before-return": false
"newline-before-return": false,
"promise-must-complete": false,
"no-unsafe-any": false,
"no-floating-promises": false,
"no-void-expression": false,
"no-null-keyword": false,
"prefer-readonly": false,
"completed-docs": false,
"non-literal-fs-path": false
},
"linterOptions": {
"exclude": ["lib/**/*", "**/node_modules/**"]
Expand Down

0 comments on commit 6261073

Please sign in to comment.