Update upstream

This commit is contained in:
Alex 2023-11-06 21:34:20 -05:00
parent 9352bf6baf
commit d5f4de03d6
4 changed files with 9 additions and 35 deletions

13
dist/package.json vendored
View File

@ -1,15 +1,15 @@
{
"name": "@aet/eslint-rules",
"version": "0.0.1-beta.43",
"version": "0.0.2",
"license": "UNLICENSED",
"peerDependencies": {
"eslint": "^8.52.0",
"eslint": "^8.53.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@types/eslint": "^8.44.6",
"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.9.1",
"@types/eslint": "^8.44.7",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"aria-query": "^5.3.0",
"axe-core": "4.8.2",
"axobject-query": "^4.0.0",
@ -22,8 +22,9 @@
"eslint-define-config": "^1.24.1",
"eslint-import-resolver-node": "^0.3.9",
"eslint-module-utils": "^2.8.0",
"eslint-plugin-unicorn": "^49.0.0",
"estraverse": "^5.3.0",
"fast-glob": "^3.3.1",
"fast-glob": "^3.3.2",
"get-tsconfig": "^4.7.2",
"ignore": "^5.2.4",
"is-core-module": "^2.13.1",

View File

@ -338,34 +338,6 @@ index 55073bfe..efc07af1 100644
const astUtil = require('./ast');
const isCreateElement = require('./isCreateElement');
diff --git a/package.json b/package.json
index 702b9f6f..f34d71d3 100644
--- a/package.json
+++ b/package.json
@@ -25,22 +25,14 @@
"homepage": "https://github.com/jsx-eslint/eslint-plugin-react",
"bugs": "https://github.com/jsx-eslint/eslint-plugin-react/issues",
"dependencies": {
- "array-includes": "^3.1.6",
- "array.prototype.flatmap": "^1.3.1",
- "array.prototype.tosorted": "^1.1.1",
"doctrine": "^2.1.0",
"es-iterator-helpers": "^1.0.13",
"estraverse": "^5.3.0",
"jsx-ast-utils": "^2.4.1 || ^3.0.0",
"minimatch": "^3.1.2",
- "object.entries": "^1.1.6",
- "object.fromentries": "^2.0.6",
- "object.hasown": "^1.1.2",
- "object.values": "^1.1.6",
"prop-types": "^15.8.1",
"resolve": "^2.0.0-next.4",
- "semver": "^6.3.1",
- "string.prototype.matchall": "^4.0.8"
+ "semver": "^6.3.1"
},
"devDependencies": {
"@babel/core": "^7.22.10",
diff --git a/tsconfig.json b/tsconfig.json
deleted file mode 100644
index 39187b7f..00000000

View File

@ -88,6 +88,7 @@ export function extendConfig({
...eslintRules,
...typescriptRules,
'import/export': off,
'import/no-duplicates': error,
'import/order': [error, { groups: ['builtin', 'external'] }],
...(hasReact && {
...reactRules,

View File

@ -9,7 +9,7 @@ export const eslintRules: Partial<EslintRules> = {
'no-console': warn,
'no-constant-condition': [error, { checkLoops: false }],
'no-debugger': warn,
'no-duplicate-imports': error,
'no-duplicate-imports': off,
'no-empty': [error, { allowEmptyCatch: true }],
'no-inner-declarations': off,
'no-lonely-if': error,