Skip to content

Commit

Permalink
upgraded eslint, misc dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cxreiff committed Sep 14, 2024
1 parent 29707f1 commit 4f880b4
Show file tree
Hide file tree
Showing 6 changed files with 2,218 additions and 1,322 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

38 changes: 38 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// @ts-check

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-unused-vars": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-unused-vars": ["warn", { args: "none" }],
"@typescript-eslint/triple-slash-reference": [
"error",
{ types: "always" },
],
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-empty-function": [
"error",
{
allow: ["private-constructors", "methods", "arrowFunctions"],
},
],
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/anchor-is-valid": "off",
},
},
{
ignores: ["node_modules/*", "dist/*", "tsm/*", "coverage/*"],
}
);
45 changes: 24 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,17 @@
"react/jsx-runtime": "preact/jsx-runtime"
},
"devDependencies": {
"@parcel/core": "^2.9.3",
"@parcel/reporter-bundle-analyzer": "^2.9.3",
"@parcel/transformer-glsl": "^2.9.3",
"@parcel/transformer-sass": "^2.9.3",
"@babel/traverse": "^7.23.2",
"@eslint/js": "^9.10.0",
"@parcel/core": "^2.12.0",
"@parcel/reporter-bundle-analyzer": "^2.12.0",
"@parcel/transformer-glsl": "^2.12.0",
"@parcel/transformer-sass": "^2.12.0",
"@preact/preset-vite": "^2.8.1",
"@reduxjs/toolkit": "^1.9.3",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/preact": "^3.2.3",
"@types/eslint__js": "^8.42.3",
"@types/jsdom": "^21.1.0",
"@types/ndarray": "^1.0.11",
"@types/parcel-env": "^0.0.1",
Expand All @@ -63,32 +66,34 @@
"@types/redux-logger": "^3.0.9",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/xml2js": "^0.4.11",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"angle-normals": "^1.0.0",
"assets": "^3.0.1",
"braces": "^3.0.3",
"buffer": "^5.7.1",
"bunny": "^1.0.1",
"classnames": "^2.3.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsx-a11y": "^6.10.0",
"events": "^3.3.0",
"gl-matrix": "^3.4.3",
"gray-matter": "^4.0.3",
"happy-dom": "^8.9.0",
"husky": "^8.0.3",
"json-schema": "^0.4.0",
"lint-staged": "^13.1.2",
"lucide-preact": "^0.122.0",
"lucide-preact": "^0.438.0",
"marked": "^4.2.12",
"ndarray": "^1.0.19",
"ndarray-pixels": "^3.1.0",
"normalize.css": "^8.0.1",
"parcel": "^2.9.3",
"parcel": "^2.12.0",
"postcss": "^8.4.31",
"postcss-modules": "^4.3.1",
"preact": "^10.17.1",
"preact": "^10.23.2",
"prettier": "^2.8.4",
"process": "^0.11.10",
"querystring-es3": "^0.2.1",
Expand All @@ -99,7 +104,7 @@
"react-markdown": "^8.0.5",
"react-modal-image": "^2.6.0",
"react-redux": "^8.0.5",
"react-router-dom": "^6.8.1",
"react-router-dom": "^6.26.1",
"react-syntax-highlighter": "^15.5.0",
"redux": "^4.2.1",
"redux-logger": "^3.0.6",
Expand All @@ -109,10 +114,11 @@
"string_decoder": "^1.3.0",
"timers-browserify": "^2.0.12",
"typed-scss-modules": "^8.0.0",
"typescript": "^5.0.4",
"vite": "^5.0.13",
"vitest": "^1.2.2",
"vitest-fetch-mock": "^0.2.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.5.0",
"vite": "^5.4.3",
"vitest": "^2.0.5",
"vitest-fetch-mock": "^0.3.0",
"xml2js": "^0.6.0"
},
"pnpm": {
Expand All @@ -124,9 +130,6 @@
}
},
"dependencies": {
"@babel/traverse": "^7.23.2",
"braces": "^3.0.3",
"cxreiff.github.io": "link:",
"eslint-plugin-jest": "^28.8.0"
"cxreiff.github.io": "link:"
}
}
Loading

0 comments on commit 4f880b4

Please sign in to comment.