build(bazel): fix linting errors · angular/angular@3c24466 · GitHub
Skip to content

Commit 3c24466

Browse files
Derek Cormierjosephperrott
authored andcommitted
build(bazel): fix linting errors
Exclude third_party vendored code from linting to preserve original form
1 parent 74d358b commit 3c24466

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.pullapprove.yml

Lines changed: 1 addition & 0 deletions

tools/esm-loader/esm-loader.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import fs from 'fs';
210
import path from 'path';
311
import {pathToFileURL} from 'url';
@@ -52,4 +60,4 @@ function resolvePackageLocalFilepath(packageImport, packageJson) {
5260
}
5361

5462
return packageImport.pathInPackage || packageJson.module || packageJson.main || 'index.js';
55-
}
63+
}

tslint.json

Lines changed: 4 additions & 1 deletion

0 commit comments

Comments
 (0)