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 b1ef1ad
Show file tree
Hide file tree
Showing 6 changed files with 374 additions and 11 deletions.
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 b1ef1ad

Please sign in to comment.