Skip to content

Commit 897f228

Browse files
committed
Fix build based on Christina's input
Thanks Christina for the input here. Changes are - Add entry in changeset file - Add eslintrc.js to `messaging-compat`
1 parent 4cadc73 commit 897f228

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.changeset/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@firebase/installations-types-exp",
2525
"@firebase/installations-compat",
2626
"@firebase/messaging-exp",
27+
"@firebase/messaging-compat",
2728
"@firebase/performance-exp",
2829
"@firebase/remote-config-exp",
2930
"@firebase/remote-config-compat",
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* eslint-disable @typescript-eslint/no-require-imports */
2+
/**
3+
* @license
4+
* Copyright 2020 Google LLC
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
const path = require('path');
19+
20+
module.exports = {
21+
extends: '../../config/.eslintrc.js',
22+
parserOptions: {
23+
project: 'tsconfig.json',
24+
// to make vscode-eslint work with monorepo
25+
// https://github.com/typescript-eslint/typescript-eslint/issues/251#issuecomment-463943250
26+
tsconfigRootDir: __dirname
27+
}
28+
};

0 commit comments

Comments
 (0)