Skip to content

Commit

Permalink
disable eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Nov 1, 2022
1 parent 1b531ef commit c5a692d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ function buildRollup(packages, buildStandalone) {
}

function buildRollupDts(packages) {
async function build(input, output) {
async function build(input, output, banner) {
log(`Bundling '${chalk.cyan(output)}' with rollup ...`);

const bundle = await rollup({
Expand All @@ -538,6 +538,7 @@ function buildRollupDts(packages) {
await bundle.write({
file: output,
format: "es",
banner,
});
}

Expand All @@ -551,7 +552,8 @@ function buildRollupDts(packages) {
tasks.push(
build(
"packages/babel-parser/typings/babel-parser.source.d.ts",
"packages/babel-parser/typings/babel-parser.d.ts"
"packages/babel-parser/typings/babel-parser.d.ts",
"/* eslint-disable import/no-extraneous-dependencies, @typescript-eslint/consistent-type-imports, prettier/prettier */"
)
);

Expand Down
1 change: 1 addition & 0 deletions packages/babel-parser/typings/babel-parser.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies, @typescript-eslint/consistent-type-imports, prettier/prettier */
import * as _babel_types from '@babel/types';

type Plugin =
Expand Down

0 comments on commit c5a692d

Please sign in to comment.