Bump
This commit is contained in:
@ -205,8 +205,21 @@ index df7b6b8..c4d0da1 100644
|
||||
nodeName: 'input',
|
||||
attributes: {
|
||||
autocomplete,
|
||||
diff --git a/src/rules/label-has-associated-control.js b/src/rules/label-has-associated-control.js
|
||||
index dd6b199..184199e 100644
|
||||
--- a/src/rules/label-has-associated-control.js
|
||||
+++ b/src/rules/label-has-associated-control.js
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
import { hasProp, getProp, getPropValue } from 'jsx-ast-utils';
|
||||
import type { JSXElement } from 'ast-types-flow';
|
||||
-import minimatch from 'minimatch';
|
||||
+import { minimatch } from 'minimatch';
|
||||
import { generateObjSchema, arraySchema } from '../util/schemas';
|
||||
import type { ESLintConfig, ESLintContext, ESLintVisitorSelectorConfig } from '../../flow/eslint';
|
||||
import getElementType from '../util/getElementType';
|
||||
diff --git a/src/util/mayContainChildComponent.js b/src/util/mayContainChildComponent.js
|
||||
index 43a03ef..5e1035e 100644
|
||||
index 65000a0..09b199a 100644
|
||||
--- a/src/util/mayContainChildComponent.js
|
||||
+++ b/src/util/mayContainChildComponent.js
|
||||
@@ -9,7 +9,7 @@
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/lib/index.js b/lib/index.js
|
||||
index 49fd4c7..a0fdd81 100644
|
||||
index de95218..e30a3df 100644
|
||||
--- a/lib/index.js
|
||||
+++ b/lib/index.js
|
||||
@@ -1,9 +1,9 @@
|
||||
@@ -1,17 +1,17 @@
|
||||
"use strict"
|
||||
|
||||
-const pkg = require("../package.json")
|
||||
@ -14,18 +14,17 @@ index 49fd4c7..a0fdd81 100644
|
||||
+import cjsConfig from "./configs/recommended-script"
|
||||
+import recommendedConfig from "./configs/recommended"
|
||||
|
||||
/**
|
||||
* @typedef {{
|
||||
@@ -20,8 +20,8 @@ const recommendedConfig = require("./configs/recommended")
|
||||
/** @type {import('eslint').ESLint.Plugin & { configs: Configs }} */
|
||||
const plugin = {
|
||||
/** @import { ESLint, Linter } from 'eslint' */
|
||||
|
||||
/** @type {ESLint.Plugin} */
|
||||
const base = {
|
||||
meta: {
|
||||
- name: pkg.name,
|
||||
- version: pkg.version,
|
||||
+ name,
|
||||
+ version,
|
||||
},
|
||||
rules: /** @type {Record<string, import('eslint').Rule.RuleModule>} */ ({
|
||||
rules: {
|
||||
"callback-return": require("./rules/callback-return"),
|
||||
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
|
||||
|
Reference in New Issue
Block a user