Skip to content

Commit 2cbe088

Browse files
committed
fix: drop tslint check
1 parent 9038295 commit 2cbe088

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

config/webpack.config.dev.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const CaseSensitivePathsPlugin = require("case-sensitive-paths-webpack-plugin");
1616
const InterpolateHtmlPlugin = require("react-dev-utils/InterpolateHtmlPlugin");
1717
const WatchMissingNodeModulesPlugin = require("react-dev-utils/WatchMissingNodeModulesPlugin");
1818
const ModuleScopePlugin = require("react-dev-utils/ModuleScopePlugin");
19-
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
2019
const getClientEnvironment = require("./env");
2120
const paths = require("./paths");
2221
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
@@ -285,13 +284,6 @@ module.exports = {
285284
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
286285
// You can remove this if you don't use Moment.js:
287286
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
288-
// Perform type checking and linting in a separate process to speed up compilation
289-
new ForkTsCheckerWebpackPlugin({
290-
async: false,
291-
watch: paths.appSrc,
292-
tsconfig: paths.appTsConfig,
293-
tslint: paths.appTsLint,
294-
}),
295287
],
296288
// Some libraries import Node modules but don't use them in the browser.
297289
// Tell Webpack to provide empty mocks for them so importing them works.

config/webpack.config.prod.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const ManifestPlugin = require("webpack-manifest-plugin");
1717
const InterpolateHtmlPlugin = require("react-dev-utils/InterpolateHtmlPlugin");
1818
const SWPrecacheWebpackPlugin = require("sw-precache-webpack-plugin");
1919
const ModuleScopePlugin = require("react-dev-utils/ModuleScopePlugin");
20-
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
2120
const paths = require("./paths");
2221
const getClientEnvironment = require("./env");
2322
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
@@ -392,12 +391,6 @@ module.exports = {
392391
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
393392
// You can remove this if you don't use Moment.js:
394393
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
395-
// Perform type checking and linting in a separate process to speed up compilation
396-
new ForkTsCheckerWebpackPlugin({
397-
async: false,
398-
tsconfig: paths.appTsProdConfig,
399-
tslint: paths.appTsLint,
400-
}),
401394
],
402395
// Some libraries import Node modules but don't use them in the browser.
403396
// Tell Webpack to provide empty mocks for them so importing them works.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scripts-ts-and-sass",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "TypeScript configuration and scripts for Create React App.",
55
"repository": "wmonk/create-react-app-typescript",
66
"license": "BSD-3-Clause",
@@ -32,7 +32,6 @@
3232
"dotenv-expand": "4.2.0",
3333
"extract-text-webpack-plugin": "3.0.2",
3434
"file-loader": "1.1.5",
35-
"fork-ts-checker-webpack-plugin": "^0.2.8",
3635
"fs-extra": "3.0.1",
3736
"html-webpack-plugin": "2.29.0",
3837
"jest": "20.0.4",

0 commit comments

Comments
 (0)