Skip to content

Commit

Permalink
deps: FY25Q2 dependency updates 🌲
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Oct 3, 2024
1 parent 537fc99 commit 2bdce93
Show file tree
Hide file tree
Showing 23 changed files with 4,425 additions and 2,414 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ secrets.json
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.firebase
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson"]
}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{
"cSpell.words": [
"baselayer",
"countyid",
"COUNTYNBR",
"firebaserc",
"FULLNAME",
"minzoom",
"packagejson",
"prebuild",
"QMMTB",
"SANPETE",
"setversion",
"tilesize",
"vistaid",
"WEBAPI"
],
"editor.formatOnSave": true,
"editor.formatOnSave": true
}
54 changes: 54 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import js from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import prettier from "eslint-plugin-prettier";
import reactPlugin from "eslint-plugin-react";
import globals from "globals";

// eslint.config.js
export default [
js.configs.recommended,
reactPlugin.configs.flat.recommended,
reactPlugin.configs.flat["jsx-runtime"],
{
...reactPlugin.configs.flat.recommended,
languageOptions: {
ecmaVersion: 2022,
sourceType: "module",
...reactPlugin.configs.flat.recommended.languageOptions,
globals: {
...globals.browser,
...globals.node,
...globals.es2022,
...globals.jest,
},
},
settings: { react: { version: "detect" } },
plugins: {
react: reactPlugin,
prettier,
},
files: ["**/*.{js,mjs,cjs,jsx,ts,tsx}"],
rules: {
...eslintConfigPrettier.rules,
...reactPlugin.configs["jsx-runtime"].rules,
"react/prop-types": "off",
},
},
{
ignores: [
"build/*",
".firebase",
".github/*",
".vscode/*",
"data/*",
"dist/*",
"forklift/*",
"maps/*",
"mockups/*",
"node_modules/*",
"package-lock.json",
"public/*",
"scripts/*",
],
},
];
Loading

0 comments on commit 2bdce93

Please sign in to comment.