Skip to content

Commit

Permalink
feat: update dependencies + add new globals (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey authored Apr 26, 2023
1 parent 0740208 commit 89630ed
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
2 changes: 2 additions & 0 deletions lib/configs/_browser-globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ module.exports = {
ChannelSplitterNode: "readonly",
CharacterData: "readonly",
ClipboardEvent: "readonly",
ClipboardItem: "readonly",
CloseEvent: "readonly",
Comment: "readonly",
CompositionEvent: "readonly",
Expand Down Expand Up @@ -279,6 +280,7 @@ module.exports = {
NamedNodeMap: "readonly",
NavigationPreloadManager: "readonly",
Navigator: "readonly",
NavigatorUAData: "readonly",
NetworkInformation: "readonly",
Node: "readonly",
NodeFilter: "readonly",
Expand Down
14 changes: 13 additions & 1 deletion lib/configs/_override-ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ module.exports = {
"error",
"@eslint-community/mysticatea/ts/no-duplicate-enum-values":
"error",
"@eslint-community/mysticatea/ts/no-duplicate-type-constituents":
"off", // TODO: enable fully in the next major version
"@eslint-community/mysticatea/ts/no-dynamic-delete": "error",
"@eslint-community/mysticatea/ts/no-empty-interface": "error",
"@eslint-community/mysticatea/ts/no-extra-non-null-assertion":
Expand All @@ -65,6 +67,8 @@ module.exports = {
"@eslint-community/mysticatea/ts/no-floating-promises": "error",
"@eslint-community/mysticatea/ts/no-for-in-array": "error",
"@eslint-community/mysticatea/ts/no-implied-eval": "error",
"@eslint-community/mysticatea/ts/no-import-type-side-effects":
"off", // TODO: enable fully in the next major version
"@eslint-community/mysticatea/ts/no-inferrable-types": "error",
"@eslint-community/mysticatea/ts/no-invalid-this": "error",
"@eslint-community/mysticatea/ts/no-invalid-void-type": "error",
Expand All @@ -82,6 +86,7 @@ module.exports = {
"error",
"@eslint-community/mysticatea/ts/no-misused-new": "error",
"@eslint-community/mysticatea/ts/no-misused-promises": "error",
"@eslint-community/mysticatea/ts/no-mixed-enums": "off", // TODO: enable fully in the next major version
"@eslint-community/mysticatea/ts/no-non-null-asserted-nullish-coalescing":
"error",
"@eslint-community/mysticatea/ts/no-non-null-asserted-optional-chain":
Expand Down Expand Up @@ -111,6 +116,10 @@ module.exports = {
"@eslint-community/mysticatea/ts/no-unsafe-argument": "error",
"@eslint-community/mysticatea/ts/no-unsafe-assignment": "error",
"@eslint-community/mysticatea/ts/no-unsafe-call": "error",
"@eslint-community/mysticatea/ts/no-unsafe-declaration-merging":
"off", // TODO: enable fully in the next major version
"@eslint-community/mysticatea/ts/no-unsafe-enum-comparison":
"off", // TODO: enable fully in the next major version
"@eslint-community/mysticatea/ts/no-unsafe-member-access":
"error",
"@eslint-community/mysticatea/ts/no-unsafe-return": "error",
Expand Down Expand Up @@ -157,7 +166,7 @@ module.exports = {
"@eslint-community/mysticatea/ts/restrict-template-expressions":
"error",
"@eslint-community/mysticatea/ts/return-await": "error",
"@eslint-community/mysticatea/ts/sort-type-union-intersection-members":
"@eslint-community/mysticatea/ts/sort-type-constituents":
"error",
"@eslint-community/mysticatea/ts/switch-exhaustiveness-check":
"error",
Expand Down Expand Up @@ -205,6 +214,7 @@ module.exports = {
"no-use-before-define": "off",
"one-var": "off",
"@eslint-community/mysticatea/ts/ban-types": "off",
"@eslint-community/mysticatea/ts/block-spacing": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/brace-style": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/comma-dangle": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/comma-spacing": "off", // favor of Prettier.
Expand All @@ -214,6 +224,8 @@ module.exports = {
"off", // I want but this is not so...
"@eslint-community/mysticatea/ts/func-call-spacing": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/indent": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/lines-around-comment": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/key-spacing": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/keyword-spacing": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/member-delimiter-style": "off", // favor of Prettier.
"@eslint-community/mysticatea/ts/member-ordering": "off",
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,29 @@
"watch": "mocha \"tests/lib/**/*.js\" --reporter dot --watch --growl"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "~5.40.0",
"@typescript-eslint/parser": "~5.40.0",
"@typescript-eslint/eslint-plugin": "~5.59.1",
"@typescript-eslint/parser": "~5.59.1",
"eslint-plugin-eslint-comments": "~3.2.0",
"eslint-plugin-eslint-plugin": "~4.4.1",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-prettier": "~3.4.1",
"eslint-plugin-vue": "~8.7.1",
"prettier": "~2.7.1",
"semver": "^7.3.8",
"semver": "^7.5.0",
"vue-eslint-parser": "^8.3.0"
},
"devDependencies": {
"@eslint-community/eslint-plugin-mysticatea": "file:.",
"@eslint/eslintrc": "^2.0.1",
"eslint": "~8.36.0",
"eslint-config-prettier": "^8.6.0",
"globals": "^13.17.0",
"@eslint/eslintrc": "^2.0.2",
"eslint": "~8.39.0",
"eslint-config-prettier": "^8.8.0",
"globals": "^13.20.0",
"mocha": "^9.2.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"opener": "^1.5.2",
"rimraf": "^3.0.2",
"typescript": "^4.8.4"
"typescript": "^5.0.4"
},
"peerDependencies": {
"eslint": "^6.6.0 || ^7.0.0 || ^8.0.0"
Expand Down

0 comments on commit 89630ed

Please sign in to comment.