Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-b committed Nov 14, 2024
1 parent 6d319c8 commit 8be15ef
Show file tree
Hide file tree
Showing 7 changed files with 377 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
run: npm --prefix ./packages/client ci

- name: Lint client
run: npm --prefix ./packages/client run lint
run: npm --prefix ./packages/client2 run lint

- name: Build client
run: npm --prefix ./packages/client run build
run: npm --prefix ./packages/client2 run build

- name: Run client tests
run: npm --prefix ./packages/client run test
run: npm --prefix ./packages/client2 run test
3 changes: 2 additions & 1 deletion packages/client2/babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"import": "h",
"export": "h"
}
]
],
"@babel/plugin-syntax-class-properties"
]
}
12 changes: 12 additions & 0 deletions packages/client2/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import pluginJs from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";


/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
Loading

0 comments on commit 8be15ef

Please sign in to comment.