@types/eslint-plugin-mocha 10.4.0 → 11.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- eslint-plugin-mocha/README.md +2 -33
- eslint-plugin-mocha/package.json +5 -20
- eslint-plugin-mocha/index.d.ts +0 -15
eslint-plugin-mocha/README.md
CHANGED
|
@@ -1,34 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
> `npm install --save @types/eslint-plugin-mocha`
|
|
3
|
-
|
|
4
|
-
# Summary
|
|
5
|
-
This package contains type definitions for eslint-plugin-mocha (https://github.com/lo1tuma/eslint-plugin-mocha#readme).
|
|
6
|
-
|
|
7
|
-
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-plugin-mocha.
|
|
9
|
-
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-plugin-mocha/index.d.ts)
|
|
10
|
-
````ts
|
|
11
|
-
import { ESLint, Linter } from "eslint";
|
|
1
|
+
This is a stub types definition for @types/eslint-plugin-mocha (undefined).
|
|
12
2
|
|
|
13
|
-
|
|
14
|
-
configs: {
|
|
15
|
-
recommended: Linter.Config;
|
|
16
|
-
all: Linter.Config;
|
|
17
|
-
flat: {
|
|
18
|
-
recommended: Linter.FlatConfig;
|
|
19
|
-
all: Linter.FlatConfig;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare const plugin: ESLintMochaConfigs & ESLint.Plugin;
|
|
25
|
-
export = plugin;
|
|
26
|
-
|
|
27
|
-
````
|
|
28
|
-
|
|
29
|
-
### Additional Details
|
|
30
|
-
* Last updated: Sat, 09 Mar 2024 04:07:08 GMT
|
|
31
|
-
* Dependencies: [@types/eslint](https://npmjs.com/package/@types/eslint)
|
|
32
|
-
|
|
33
|
-
# Credits
|
|
34
|
-
These definitions were written by [rhysd](https://github.com/rhysd).
|
|
3
|
+
eslint-plugin-mocha provides its own type definitions, so you don't need @types/eslint-plugin-mocha installed!
|
eslint-plugin-mocha/package.json
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/eslint-plugin-mocha",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "TypeScript definitions for eslint-plugin-mocha",
|
|
5
|
-
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-plugin-mocha",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"contributors": [
|
|
8
|
-
{
|
|
9
|
-
"name": "rhysd",
|
|
10
|
-
"githubUsername": "rhysd",
|
|
11
|
-
"url": "https://github.com/rhysd"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
3
|
+
"version": "11.1.1",
|
|
4
|
+
"description": "Stub TypeScript definitions entry for eslint-plugin-mocha, which provides its own types definitions",
|
|
14
5
|
"main": "",
|
|
15
|
-
"types": "index.d.ts",
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
19
|
-
"directory": "types/eslint-plugin-mocha"
|
|
20
|
-
},
|
|
21
6
|
"scripts": {},
|
|
7
|
+
"license": "MIT",
|
|
22
8
|
"dependencies": {
|
|
23
|
-
"
|
|
9
|
+
"eslint-plugin-mocha": "*"
|
|
24
10
|
},
|
|
25
|
-
"
|
|
26
|
-
"typeScriptVersion": "4.7"
|
|
11
|
+
"deprecated": "This is a stub types definition. eslint-plugin-mocha provides its own type definitions, so you do not need this installed."
|
|
27
12
|
}
|
eslint-plugin-mocha/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ESLint, Linter } from "eslint";
|
|
2
|
-
|
|
3
|
-
interface ESLintMochaConfigs {
|
|
4
|
-
configs: {
|
|
5
|
-
recommended: Linter.Config;
|
|
6
|
-
all: Linter.Config;
|
|
7
|
-
flat: {
|
|
8
|
-
recommended: Linter.FlatConfig;
|
|
9
|
-
all: Linter.FlatConfig;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare const plugin: ESLintMochaConfigs & ESLint.Plugin;
|
|
15
|
-
export = plugin;
|