Skip to content

Commit aefb44f

Browse files
zman81988GitHub Enterprise
authored and
GitHub Enterprise
committed
Merge pull request #25 from zwolfson/lint-and-style
adding linting and formatting
2 parents b65cef0 + 07e721a commit aefb44f

File tree

12 files changed

+1969
-362
lines changed

12 files changed

+1969
-362
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

eslint.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import eslintConfigPrettier from "eslint-config-prettier";
5+
6+
7+
export default [
8+
{files: ["**/*.{js,mjs,cjs,ts}"]},
9+
{ignores:["dist"]},
10+
{languageOptions: { globals: globals.browser }},
11+
pluginJs.configs.recommended,
12+
...tseslint.configs.recommended,
13+
eslintConfigPrettier
14+
];

0 commit comments

Comments
 (0)