Skip to content

Commit adc09fe

Browse files
chore: fix lint
1 parent 35ab4a7 commit adc09fe

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.cspell.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
"minifier",
3636
"filebase",
3737
"toplevel",
38-
"commitlint"
38+
"commitlint",
39+
"tapable"
3940
],
40-
4141
"ignorePaths": [
4242
"CHANGELOG.md",
4343
"package.json",

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const {
7373
* @property {RawSourceMap=} map source map
7474
* @property {Array<Error | string>=} errors errors
7575
* @property {Array<Error | string>=} warnings warnings
76-
* @property {Array<string>=} extractedComments extacted comments
76+
* @property {Array<string>=} extractedComments extracted comments
7777
*/
7878

7979
/**
@@ -325,7 +325,7 @@ class TerserPlugin {
325325
/**
326326
* @private
327327
* @param {Parallel} parallel value of the `parallel` option
328-
* @returns {number} number of core for parallilism
328+
* @returns {number} number of cores for parallelism
329329
*/
330330
static getAvailableNumberOfCores(parallel) {
331331
// In some cases cpus() returns undefined

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare class TerserPlugin<T = import("terser").MinifyOptions> {
2828
/**
2929
* @private
3030
* @param {Parallel} parallel value of the `parallel` option
31-
* @returns {number} number of core for parallilism
31+
* @returns {number} number of cores for parallelism
3232
*/
3333
private static getAvailableNumberOfCores;
3434
/**
@@ -197,7 +197,7 @@ type MinimizedResult = {
197197
*/
198198
warnings?: Array<Error | string> | undefined;
199199
/**
200-
* extacted comments
200+
* extracted comments
201201
*/
202202
extractedComments?: Array<string> | undefined;
203203
};

0 commit comments

Comments
 (0)