Skip to content

Commit 3c2e837

Browse files
committed
lint fixes
1 parent 9ebb633 commit 3c2e837

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

packages/firestore/src/lite-api/snapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import { Compat, getModularInstance } from '@firebase/util';
1919

20+
import { Timestamp } from '../lite-api/timestamp';
2021
import { Document } from '../model/document';
2122
import { DocumentKey } from '../model/document_key';
2223
import { FieldPath as InternalFieldPath } from '../model/path';
@@ -38,7 +39,6 @@ import {
3839
UntypedFirestoreDataConverter
3940
} from './user_data_reader';
4041
import { AbstractUserDataWriter } from './user_data_writer';
41-
import { Timestamp } from '../lite-api/timestamp';
4242

4343
/**
4444
* Converter used by `withConverter()` to transform user objects of type

packages/firestore/src/model/path.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ import { Code, FirestoreError } from '../util/error';
2222

2323
export const DOCUMENT_KEY_NAME = '__name__';
2424

25-
/*!
26-
* A regular expression to verify an absolute Resource Path in Firestore. It
27-
* extracts the project ID, the database name and the relative resource path
28-
* if available.
29-
*
30-
* @type {RegExp}
31-
*/
32-
const RESOURCE_PATH_RE =
33-
// Note: [\s\S] matches all characters including newlines.
34-
/^projects\/([^/]*)\/databases\/([^/]*)(?:\/documents\/)?([\s\S]*)$/;
35-
3625
/**
3726
* Path represents an ordered sequence of string segments.
3827
*/

packages/firestore/src/util/bundle_builder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818

1919
import {
20-
BundleElement,
2120
BundleMetadata
2221
} from '../protos/firestore_bundle_proto';
2322
import { JsonProtoSerializer } from '../remote/serializer';

0 commit comments

Comments
 (0)