Upgrade deps

This commit is contained in:
Dessalines 2021-12-06 14:37:52 -05:00
parent edcd37d507
commit a630b76bf0
4 changed files with 835 additions and 1335 deletions

View file

@ -4,11 +4,11 @@
"browser": true "browser": true
}, },
"plugins": [ "plugins": [
"jane" "@typescript-eslint"
], ],
"extends": [ "extends": [
"plugin:jane/recommended", "eslint:recommended",
"plugin:jane/typescript" "plugin:@typescript-eslint/recommended"
], ],
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {
@ -16,14 +16,11 @@
"warnOnUnsupportedTypeScriptVersion": false "warnOnUnsupportedTypeScriptVersion": false
}, },
"rules": { "rules": {
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-empty-interface": 0, "@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-explicit-any": 0, "@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-this-alias": 0, "@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-useless-constructor": 0,
"arrow-body-style": 0, "arrow-body-style": 0,
"curly": 0, "curly": 0,
"eol-last": 0, "eol-last": 0,

View file

@ -1,4 +1,4 @@
module.exports = Object.assign(require('eslint-plugin-jane/prettier-ts'), { module.exports = Object.assign(require("eslint-plugin-prettier"), {
arrowParens: 'avoid', arrowParens: "avoid",
semi: true, semi: true,
}); });

View file

@ -16,18 +16,23 @@
}, },
"repository": "https://github.com/LemmyNet/lemmy-js-client", "repository": "https://github.com/LemmyNet/lemmy-js-client",
"devDependencies": { "devDependencies": {
"@types/node": "^16.10.2", "@types/node": "^16.11.11",
"@types/node-fetch": "^3.0.3", "@types/node-fetch": "^3.0.3",
"eslint": "^7.32.0", "@typescript-eslint/eslint-plugin": "^5.5.0",
"eslint-plugin-jane": "^9.0.6", "@typescript-eslint/parser": "^5.5.0",
"husky": "^7.0.2", "eslint": "^8.3.0",
"lint-staged": "^11.1.2", "eslint-plugin-prettier": "^4.0.0",
"node-fetch": "^3.0.0", "husky": "^7.0.4",
"prettier": "^2.4.1", "lint-staged": "^12.1.2",
"node-fetch": "^3.1.0",
"prettier": "^2.5.0",
"prettier-plugin-import-sort": "^0.0.7",
"prettier-plugin-organize-imports": "^2.3.4",
"prettier-plugin-packagejson": "^2.2.15",
"sortpack": "^2.2.0", "sortpack": "^2.2.0",
"typedoc": "^0.21.6", "typedoc": "^0.21.6",
"typedoc-plugin-sourcefile-url": "^1.0.6", "typedoc-plugin-sourcefile-url": "^1.0.6",
"typescript": "^4.4.3" "typescript": "^4.5.2"
}, },
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"lint-staged": { "lint-staged": {
@ -38,5 +43,11 @@
"package.json": [ "package.json": [
"sortpack" "sortpack"
] ]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
} }
} }

2124
yarn.lock

File diff suppressed because it is too large Load diff