Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit ee891ee

Browse files
authored
Merge pull request #233 from DorianGrey/remove-tslint-loader
Remove tslint-loader from prod build (again)
2 parents e7a8320 + b40c8c5 commit ee891ee

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

packages/react-scripts/config/webpack.config.prod.js

-8
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,6 @@ module.exports = {
139139
// TODO: Disable require.ensure as it's not a standard language feature.
140140
// We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
141141
// { parser: { requireEnsure: false } },
142-
// First, run the linter.
143-
// It's important to do this before Typescript runs.
144-
{
145-
test: /\.(ts|tsx)$/,
146-
loader: require.resolve('tslint-loader'),
147-
enforce: 'pre',
148-
include: paths.appSrc,
149-
},
150142
{
151143
test: /\.(js|jsx|mjs)$/,
152144
loader: require.resolve('source-map-loader'),

packages/react-scripts/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"ts-loader": "^2.3.7",
4646
"tsconfig-paths-webpack-plugin": "^2.0.0",
4747
"tslint": "^5.7.0",
48-
"tslint-loader": "^3.5.3",
4948
"tslint-react": "^3.2.0",
5049
"url-loader": "0.6.2",
5150
"webpack": "3.8.1",

0 commit comments

Comments
 (0)