eslint-plugin-use-agnostic 0.9.4 → 0.9.6
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.
- package/package.json +8 -3
- package/types/index.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-use-agnostic",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "Highlights problematic server-client imports in projects made with the Fullstack React Architecture.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -20,10 +20,15 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"author": "Luther Tchofo Safo <luther@tchofo-safo-portfolio.me>",
|
|
22
22
|
"files": [
|
|
23
|
-
"library"
|
|
23
|
+
"library",
|
|
24
|
+
"types/index.d.ts"
|
|
24
25
|
],
|
|
25
26
|
"exports": {
|
|
26
|
-
".":
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./library/index.js",
|
|
29
|
+
"require": "./library/index.js",
|
|
30
|
+
"types": "./types/index.d.ts"
|
|
31
|
+
}
|
|
27
32
|
},
|
|
28
33
|
"main": "library/index.js",
|
|
29
34
|
"repository": {
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ESLint } from "eslint";
|
|
2
|
+
|
|
3
|
+
declare const plugin: ESLint.Plugin;
|
|
4
|
+
|
|
5
|
+
export default plugin;
|
|
6
|
+
|
|
7
|
+
// must be manually maintained
|
|
8
|
+
export const useAgnosticPluginName: "use-agnostic";
|
|
9
|
+
export const agnostic20ConfigName: "agnostic20";
|
|
10
|
+
export const directive21ConfigName: "directive21";
|
|
11
|
+
export const enforceEffectiveDirectivesRuleName: "enforce-effective-directives-import-rules";
|
|
12
|
+
export const enforceCommentedDirectivesRuleName: "enforce-commented-directives-import-rules";
|