diff --git a/.prettierignore b/.prettierignore index 7435af0c..af351877 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,8 @@ target node_modules dist +dist-js pnpm-lock.yaml Cargo.lock -.build \ No newline at end of file +.build +api-iife.js \ No newline at end of file diff --git a/.scripts/ci/check-license-header.js b/.scripts/ci/check-license-header.js index 5e629258..d8a64650 100644 --- a/.scripts/ci/check-license-header.js +++ b/.scripts/ci/check-license-header.js @@ -24,7 +24,10 @@ const ignore = [ ]; async function checkFile(file) { - if (extensions.some((e) => file.endsWith(e))) { + if ( + extensions.some((e) => file.endsWith(e)) && + !ignore.some((i) => file.endsWith(i)) + ) { const fileStream = fs.createReadStream(file); const rl = readline.createInterface({ input: fileStream,