Skip to content

Commit 751f883

Browse files
authored
Update dependencies with npm-check-updates (#108)
* Run `npm-check-updates` Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com> * Re-init eslint Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com> * Delete legacy config Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com> * Remove file types we don't have Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com> * Fix jsx warnings Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com> * Remove unused packages (and stop linting CSS) Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com> --------- Signed-off-by: HMellor <19981378+hmellor@users.noreply.github.com>
1 parent 58b47ed commit 751f883

File tree

16 files changed

+679
-801
lines changed

16 files changed

+679
-801
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 20 deletions
This file was deleted.

eslint.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import pluginReact from "eslint-plugin-react";
4+
import { defineConfig } from "eslint/config";
5+
6+
export default defineConfig([
7+
{
8+
files: ["**/*.{js,mjs,cjs,jsx}"],
9+
plugins: { js },
10+
extends: ["js/recommended"],
11+
languageOptions: { globals: globals.browser },
12+
settings: {
13+
react: {
14+
version: "detect"
15+
}
16+
}
17+
},
18+
pluginReact.configs.flat.recommended,
19+
]);

0 commit comments

Comments
 (0)