Skip to content

Commit

Permalink
updeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Sep 23, 2024
1 parent bf3e3ac commit 2a72909
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 7 deletions.
38 changes: 38 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("plugin:@typescript-eslint/recommended"), {
plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
globals: {
...globals.node,
},

parser: tsParser,
},

rules: {
semi: 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"import/prefer-default-export": 0,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-expressions": "off",
},
}];
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,15 @@
"singleQuote": true
},
"devDependencies": {
"@types/eslint": "^8.56.12",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.11.0",
"@types/eslint": "^9.6.1",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"esbuild": "^0.23.1",
"eslint": "^8.57.1",
"esbuild": "^0.24.0",
"eslint": "^9.11.0",
"globals": "^15.9.0",
"open-props": "^1.7.6",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@slidy/easing": "workspace:*"
},
"dependencies": {
"@types/react": "^18.3.7",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"clsx": "^2.1.1",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
},
"devDependencies": {
"@slidy/core": "workspace:*",
"@vue/compiler-sfc": "^3.5.6",
"@vue/compiler-sfc": "^3.5.8",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.1",
"esbuild-plugin-vue-next": "^0.1.4",
"eslint-plugin-vue": "^9.28.0",
"vue": "^3.5.6",
"vue": "^3.5.8",
"vue-tsc": "^1.8.27"
}
}
2 changes: 1 addition & 1 deletion www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"svelte-check": "^4.0.2",
"svelte-preprocess": "^6.0.2",
"unist-util-visit": "^4.1.2",
"vite": "^5.4.6"
"vite": "^5.4.7"
}
}

0 comments on commit 2a72909

Please sign in to comment.