Skip to content

Commit 78c3018

Browse files
Lint
1 parent 173ca91 commit 78c3018

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

packages/firestore/.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ module.exports = {
5353
'@typescript-eslint/no-explicit-any': 'error'
5454
}
5555
},
56+
{
57+
files: ['scripts/*.ts'],
58+
rules: {
59+
'import/no-extraneous-dependencies': 'off',
60+
'@typescript-eslint/no-require-imports': 'off'
61+
}
62+
},
5663
// TODO(firestorelite): Remove this exception when app-exp is published
5764
{
5865
files: ['lite/**/*.ts'],

packages/firestore/scripts/build-bundle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ async function buildBundle(input: string, output: string): Promise<void> {
6868
await bundle.write({ file: output, format: 'es' });
6969
}
7070

71+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
7172
buildBundle(argv.input, argv.output);

packages/firestore/scripts/extract-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
// eslint-disable-next-line import/no-extraneous-dependencies
1918
import * as ts from 'typescript';
2019
import * as fs from 'fs';
2120

packages/firestore/scripts/remove-asserts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
// eslint-disable-next-line import/no-extraneous-dependencies
1918
import * as ts from 'typescript';
2019

2120
// Location of file that includes the asserts

packages/firestore/scripts/rename-internals.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
// eslint-disable-next-line import/no-extraneous-dependencies
1918
import * as ts from 'typescript';
2019

2120
// `undefined` is treated as an identifier by TSC, but not part of any externs.

0 commit comments

Comments
 (0)