Skip to content

Commit

Permalink
Merge pull request #105 from xpadev-net/upgrade/dependencies
Browse files Browse the repository at this point in the history
[更新] 依存関係の更新
  • Loading branch information
xpadev-net authored Apr 12, 2024
2 parents 8a3d4fb + 59fc0dd commit 01a5f37
Show file tree
Hide file tree
Showing 9 changed files with 905 additions and 872 deletions.
34 changes: 0 additions & 34 deletions .eslintrc.js

This file was deleted.

39 changes: 39 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
// @ts-check
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import simpleImportSort from "eslint-plugin-simple-import-sort";
import jsdoc from 'eslint-plugin-jsdoc';


export default tseslint.config(
jsdoc.configs['flat/recommended-typescript-error'],
{
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: import.meta.dirname,
},
},
plugins: {
"simple-import-sort": simpleImportSort,
jsdoc,
},
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.strictTypeCheckedOnly,
],
rules: {
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-unused-vars": "error",
"no-unused-vars": "off",
"no-control-regex": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/typedef": "error",
"jsdoc/require-returns-check": "off"
},
},
);
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,36 @@
"homepage": "https://xpadev-net.github.io/niconicomments/",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@playwright/test": "^1.41.2",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@eslint/js": "^9.0.0",
"@playwright/test": "^1.43.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"copyfiles": "^2.4.1",
"eslint": "^8.56.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.1.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-simple-import-sort": "^12.0.0",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.12.0",
"rollup": "^4.14.1",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-typescript-paths": "^1.5.0",
"tslib": "^2.6.2",
"typedoc": "^0.25.8",
"typedoc": "^0.25.13",
"typedoc-plugin-missing-exports": "^2.2.0",
"typescript": "^5.3.3",
"valibot": "^0.28.1"
"typescript": "^5.4.5",
"typescript-eslint": "^7.6.0",
"valibot": "^0.30.0"
}
}
Loading

0 comments on commit 01a5f37

Please sign in to comment.