Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Aug 5, 2024
1 parent 012c5df commit ab20d2b
Show file tree
Hide file tree
Showing 7 changed files with 513 additions and 501 deletions.
31 changes: 0 additions & 31 deletions .eslintrc.js

This file was deleted.

16 changes: 0 additions & 16 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

module.exports = {
arrowParens: 'always',
bracketSpacing: true,
Expand Down
10 changes: 5 additions & 5 deletions dist/index.js

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import js from '@eslint/js';
import ts from 'typescript-eslint';
import tsParser from '@typescript-eslint/parser';

import prettierRecommended from 'eslint-plugin-prettier/recommended';

export default ts.config(
js.configs.recommended,
ts.configs.eslintRecommended,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parser: tsParser,
},
},
{ ignores: ['dist/', '**/*.js'] },
prettierRecommended,
);
Loading

0 comments on commit ab20d2b

Please sign in to comment.