Skip to content

Commit 4f016c9

Browse files
authored
Update deps (#691)
1 parent 012c5df commit 4f016c9

File tree

7 files changed

+513
-501
lines changed

7 files changed

+513
-501
lines changed

.eslintrc.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

.prettierrc.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright 2020 Google LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
module.exports = {
182
arrowParens: 'always',
193
bracketSpacing: true,

dist/index.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import js from '@eslint/js';
2+
import ts from 'typescript-eslint';
3+
import tsParser from '@typescript-eslint/parser';
4+
5+
import prettierRecommended from 'eslint-plugin-prettier/recommended';
6+
7+
export default ts.config(
8+
js.configs.recommended,
9+
ts.configs.eslintRecommended,
10+
{
11+
files: ['**/*.ts', '**/*.tsx'],
12+
languageOptions: {
13+
parser: tsParser,
14+
},
15+
},
16+
{ ignores: ['dist/', '**/*.js'] },
17+
prettierRecommended,
18+
);

0 commit comments

Comments
 (0)