diff --git a/.eslintignore b/.eslintignore index 451a1fdc66..fa1a075cf1 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,12 +1,7 @@ -// this file is also used by PRESUBMIT.py to tell clang-format -// to not check the format of files in here -// it will ignore any that contain a glob, so if you add a -// glob into this file it willl not mean that the -// clang-format check also ignores that file front_end/.eslintrc.js front_end/diff/diff_match_patch.jD -front_end/javascript_metadata/NativeFunctions.js -front_end/javascript_metadata/DOMPinnedProperties.ts +front_end/models/javascript_metadata/NativeFunctions.js +front_end/models/javascript_metadata/DOMPinnedProperties.ts // All of the scripts in this folder are auto-generated so don't lint them. front_end/generated/ diff --git a/scripts/javascript_natives/helpers.js b/scripts/javascript_natives/helpers.js index 26b0fb5250..5e0512db85 100644 --- a/scripts/javascript_natives/helpers.js +++ b/scripts/javascript_natives/helpers.js @@ -225,6 +225,8 @@ export function postProcess(dryRun = false) { // Generated from ${ path.relative(path.join(fileURLToPath(import.meta.url), '..', '..'), fileURLToPath(import.meta.url))} +// clang-format off + ${output} `); } diff --git a/scripts/webidl-properties/index.js b/scripts/webidl-properties/index.js index 6911d97ea3..27762cdf71 100644 --- a/scripts/webidl-properties/index.js +++ b/scripts/webidl-properties/index.js @@ -40,6 +40,8 @@ fs.writeFileSync(outPath, ` // found in the LICENSE file. // Generated from ${thisPath} +// clang-format off + /** * All the specs used when generating the DOM pinned properties dataset. */