Skip to content

Commit

Permalink
Update ts configs, add diff-based linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
goodov committed Apr 9, 2024
1 parent 621c06f commit fbaa4e3
Show file tree
Hide file tree
Showing 17 changed files with 2,557 additions and 851 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: npm install
run: npm install
Expand Down
13 changes: 13 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright (c) 2024 The Brave Authors. All rights reserved.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.

// This file is placed at the top level instead of src/ to support formatting
// for all files, not only in src/.

/** @type {import("prettier").Config} */
module.exports = {
plugins: ['prettier-plugin-organize-imports'],
singleQuote: true,
};
Loading

0 comments on commit fbaa4e3

Please sign in to comment.