Update
This commit is contained in:
parent
9ea078f414
commit
4c67de9f72
16
dist/package.json
vendored
16
dist/package.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aet/eslint-rules",
|
||||
"version": "0.0.14",
|
||||
"version": "0.0.15",
|
||||
"license": "UNLICENSED",
|
||||
"peerDependencies": {
|
||||
"eslint": "^8.53.0",
|
||||
@ -8,11 +8,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.4.0",
|
||||
"@types/eslint": "^8.56.3",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
||||
"@typescript-eslint/parser": "^7.0.2",
|
||||
"@typescript-eslint/type-utils": "^7.0.2",
|
||||
"@typescript-eslint/utils": "^7.0.2",
|
||||
"@types/eslint": "^8.56.5",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"@typescript-eslint/type-utils": "^7.1.0",
|
||||
"@typescript-eslint/utils": "^7.1.0",
|
||||
"aria-query": "^5.3.0",
|
||||
"axe-core": "^4.8.4",
|
||||
"axobject-query": "^4.0.0",
|
||||
@ -20,11 +20,11 @@
|
||||
"debug": "^4.3.4",
|
||||
"doctrine": "^3.0.0",
|
||||
"emoji-regex": "^10.3.0",
|
||||
"enhanced-resolve": "^5.15.0",
|
||||
"enhanced-resolve": "^5.15.1",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-define-config": "^1.24.1",
|
||||
"eslint-import-resolver-node": "^0.3.9",
|
||||
"eslint-module-utils": "^2.8.0",
|
||||
"eslint-module-utils": "^2.8.1",
|
||||
"eslint-plugin-es-x": "^7.5.0",
|
||||
"eslint-plugin-jsdoc": "^48.2.0",
|
||||
"eslint-plugin-unicorn": "^51.0.1",
|
||||
|
18
package.json
18
package.json
@ -6,21 +6,21 @@
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.23.9",
|
||||
"@babel/core": "^7.24.0",
|
||||
"@babel/plugin-transform-flow-strip-types": "^7.23.3",
|
||||
"@babel/preset-env": "^7.23.9",
|
||||
"@babel/preset-env": "^7.24.0",
|
||||
"@types/babel-plugin-macros": "^3.1.3",
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"@types/eslint": "^8.56.3",
|
||||
"@types/eslint": "^8.56.5",
|
||||
"@types/estree": "^1.0.5",
|
||||
"@types/estree-jsx": "^1.0.5",
|
||||
"@types/lodash": "^4.14.202",
|
||||
"@types/node": "^20.11.20",
|
||||
"@typescript-eslint/eslint-plugin": "7.0.2",
|
||||
"@typescript-eslint/type-utils": "^7.0.2",
|
||||
"@typescript-eslint/types": "^7.0.2",
|
||||
"@typescript-eslint/typescript-estree": "^7.0.2",
|
||||
"@typescript-eslint/utils": "^7.0.2",
|
||||
"@types/node": "^20.11.24",
|
||||
"@typescript-eslint/eslint-plugin": "7.1.0",
|
||||
"@typescript-eslint/type-utils": "^7.1.0",
|
||||
"@typescript-eslint/types": "^7.1.0",
|
||||
"@typescript-eslint/typescript-estree": "^7.1.0",
|
||||
"@typescript-eslint/utils": "^7.1.0",
|
||||
"babel-plugin-macros": "^3.1.0",
|
||||
"dts-bundle-generator": "^9.3.1",
|
||||
"esbin": "0.0.4",
|
||||
|
@ -1,5 +1,5 @@
|
||||
diff --git a/package.json b/package.json
|
||||
index 6a9b044..7a2a4bd 100644
|
||||
index 5ba4025..9328e80 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -62,8 +62,7 @@
|
||||
|
@ -26,7 +26,7 @@ index 883c03b7..0111d616 100644
|
||||
}
|
||||
diff --git a/.eslintrc b/.eslintrc
|
||||
deleted file mode 100644
|
||||
index 3c9c658f..00000000
|
||||
index ddf7bc56..00000000
|
||||
--- a/.eslintrc
|
||||
+++ /dev/null
|
||||
@@ -1,248 +0,0 @@
|
||||
@ -241,10 +241,10 @@ index 3c9c658f..00000000
|
||||
- "exports": "always-multiline",
|
||||
- "functions": "never"
|
||||
- }],
|
||||
- "prefer-destructuring": "warn",
|
||||
- "prefer-destructuring": "off",
|
||||
- "prefer-object-spread": "off",
|
||||
- "prefer-rest-params": "off",
|
||||
- "prefer-spread": "warn",
|
||||
- "prefer-spread": "off",
|
||||
- "prefer-template": "off",
|
||||
- }
|
||||
- },
|
||||
|
@ -27,36 +27,6 @@ index 6497d22..4cc5f27 100644
|
||||
},
|
||||
rules,
|
||||
}
|
||||
diff --git a/lib/unsupported-features/node-builtins-modules/events.js b/lib/unsupported-features/node-builtins-modules/events.js
|
||||
index c314e8b..0a876f7 100644
|
||||
--- a/lib/unsupported-features/node-builtins-modules/events.js
|
||||
+++ b/lib/unsupported-features/node-builtins-modules/events.js
|
||||
@@ -1,7 +1,7 @@
|
||||
const { READ } = require("@eslint-community/eslint-utils")
|
||||
|
||||
/** @type {import('../types.js').SupportVersionTree} */
|
||||
-const static = {
|
||||
+const _static = {
|
||||
defaultMaxListeners: { [READ]: { supported: ["0.11.2"] } },
|
||||
errorMonitor: { [READ]: { supported: ["13.6.0", "12.17.0"] } },
|
||||
captureRejections: {
|
||||
@@ -43,13 +43,13 @@ const events = {
|
||||
},
|
||||
EventEmitter: {
|
||||
[READ]: { supported: ["0.1.26"] },
|
||||
- ...static,
|
||||
+ ..._static,
|
||||
},
|
||||
EventEmitterAsyncResource: {
|
||||
[READ]: { supported: ["17.4.0", "16.14.0"] },
|
||||
- ...static,
|
||||
+ ..._static,
|
||||
},
|
||||
- ...static,
|
||||
+ ..._static,
|
||||
}
|
||||
|
||||
/** @type {import('../types.js').SupportVersionTree} */
|
||||
diff --git a/tests/fixtures/no-extraneous/dependencies/node_modules/@bbb/aaa.js b/tests/fixtures/no-extraneous/dependencies/node_modules/@bbb/aaa.js
|
||||
deleted file mode 100644
|
||||
index e69de29..0000000
|
||||
|
@ -237,7 +237,7 @@ index 64bbc8d5..b5e9c803 100644
|
||||
const isCreateElement = require('../util/isCreateElement');
|
||||
const report = require('../util/report');
|
||||
diff --git a/lib/rules/no-unknown-property.js b/lib/rules/no-unknown-property.js
|
||||
index 2e77f289..cff14d45 100644
|
||||
index ec913e1f..d4ec6688 100644
|
||||
--- a/lib/rules/no-unknown-property.js
|
||||
+++ b/lib/rules/no-unknown-property.js
|
||||
@@ -541,7 +541,7 @@ module.exports = {
|
||||
|
935
pnpm-lock.yaml
generated
935
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -183,6 +183,12 @@ export function extendConfig({
|
||||
'@typescript-eslint/consistent-type-imports': off,
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['repl.ts'],
|
||||
rules: {
|
||||
'no-console': off,
|
||||
},
|
||||
},
|
||||
...(overrides ?? []),
|
||||
],
|
||||
rules: {
|
||||
|
@ -4,6 +4,7 @@ import { EslintRules } from 'eslint-define-config/src/rules/eslint';
|
||||
export const eslintRules: Partial<EslintRules> = {
|
||||
'arrow-body-style': [error, 'as-needed'],
|
||||
'class-methods-use-this': off,
|
||||
'func-style': [error, 'declaration', { allowArrowFunctions: true }],
|
||||
'no-async-promise-executor': off,
|
||||
'no-case-declarations': off,
|
||||
'no-console': warn,
|
||||
|
Loading…
x
Reference in New Issue
Block a user