Skip to content

Commit f47bf8a

Browse files
zwu52hsubox76
authored andcommitted
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 95b5ff2 commit f47bf8a

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
@@ -23,6 +23,7 @@
2323
"@firebase/installations-exp",
2424
"@firebase/installations-compat",
2525
"@firebase/messaging-exp",
26+
"@firebase/messaging-compat",
2627
"@firebase/performance-exp",
2728
"@firebase/performance-compat",
2829
"@firebase/remote-config-exp",
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)