@vitus-labs/tools-lint 0.37.0 → 0.39.0
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/lib/analysis/vitus-tools-lint.js.html +1 -1
- package/lib/analysis/vitus-tools-lint.module.js.html +1 -1
- package/lib/index.d.ts +110 -0
- package/lib/types/eslint/helpers.d.ts.map +1 -0
- package/lib/types/eslint/index.d.ts +1 -1
- package/lib/types/eslint/index.d.ts.map +1 -0
- package/lib/types/eslint/types.d.ts +1 -1
- package/lib/types/eslint/types.d.ts.map +1 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/styles.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -6618,7 +6618,7 @@ var drawChart = (function (exports) {
|
|
|
6618
6618
|
</script>
|
|
6619
6619
|
<script>
|
|
6620
6620
|
/*<!--*/
|
|
6621
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.js","children":[{"name":"src","children":[{"name":"eslint","children":[{"uid":"
|
|
6621
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.js","children":[{"name":"src","children":[{"name":"eslint","children":[{"uid":"0e54-1","name":"helpers.ts"},{"uid":"0e54-3","name":"index.ts"}]},{"uid":"0e54-5","name":"styles.ts"},{"uid":"0e54-7","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"0e54-1":{"renderedLength":1346,"gzipLength":396,"brotliLength":0,"metaUid":"0e54-0"},"0e54-3":{"renderedLength":9763,"gzipLength":1815,"brotliLength":0,"metaUid":"0e54-2"},"0e54-5":{"renderedLength":228,"gzipLength":133,"brotliLength":0,"metaUid":"0e54-4"},"0e54-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"0e54-6"}},"nodeMetas":{"0e54-0":{"id":"/src/eslint/helpers.ts","moduleParts":{"vitus-tools-lint.js":"0e54-1"},"imported":[],"importedBy":[{"uid":"0e54-2"}]},"0e54-2":{"id":"/src/eslint/index.ts","moduleParts":{"vitus-tools-lint.js":"0e54-3"},"imported":[{"uid":"0e54-8"},{"uid":"0e54-0"}],"importedBy":[{"uid":"0e54-6"}]},"0e54-4":{"id":"/src/styles.ts","moduleParts":{"vitus-tools-lint.js":"0e54-5"},"imported":[],"importedBy":[{"uid":"0e54-6"}]},"0e54-6":{"id":"/src/index.ts","moduleParts":{"vitus-tools-lint.js":"0e54-7"},"imported":[{"uid":"0e54-2"},{"uid":"0e54-4"}],"importedBy":[],"isEntry":true},"0e54-8":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"0e54-2"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6622
6622
|
|
|
6623
6623
|
const run = () => {
|
|
6624
6624
|
const width = window.innerWidth;
|
|
@@ -6618,7 +6618,7 @@ var drawChart = (function (exports) {
|
|
|
6618
6618
|
</script>
|
|
6619
6619
|
<script>
|
|
6620
6620
|
/*<!--*/
|
|
6621
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.module.js","children":[{"name":"src","children":[{"name":"eslint","children":[{"uid":"
|
|
6621
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.module.js","children":[{"name":"src","children":[{"name":"eslint","children":[{"uid":"0e54-10","name":"helpers.ts"},{"uid":"0e54-12","name":"index.ts"}]},{"uid":"0e54-14","name":"styles.ts"},{"uid":"0e54-16","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"0e54-10":{"renderedLength":1346,"gzipLength":396,"brotliLength":0,"metaUid":"0e54-9"},"0e54-12":{"renderedLength":9728,"gzipLength":1804,"brotliLength":0,"metaUid":"0e54-11"},"0e54-14":{"renderedLength":228,"gzipLength":133,"brotliLength":0,"metaUid":"0e54-13"},"0e54-16":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"0e54-15"}},"nodeMetas":{"0e54-9":{"id":"/src/eslint/helpers.ts","moduleParts":{"vitus-tools-lint.module.js":"0e54-10"},"imported":[],"importedBy":[{"uid":"0e54-11"}]},"0e54-11":{"id":"/src/eslint/index.ts","moduleParts":{"vitus-tools-lint.module.js":"0e54-12"},"imported":[{"uid":"0e54-17"},{"uid":"0e54-9"}],"importedBy":[{"uid":"0e54-15"}]},"0e54-13":{"id":"/src/styles.ts","moduleParts":{"vitus-tools-lint.module.js":"0e54-14"},"imported":[],"importedBy":[{"uid":"0e54-15"}]},"0e54-15":{"id":"/src/index.ts","moduleParts":{"vitus-tools-lint.module.js":"0e54-16"},"imported":[{"uid":"0e54-11"},{"uid":"0e54-13"}],"importedBy":[],"isEntry":true},"0e54-17":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"0e54-11"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6622
6622
|
|
|
6623
6623
|
const run = () => {
|
|
6624
6624
|
const width = window.innerWidth;
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
declare type Config = Partial<{
|
|
2
|
+
rootPath: string;
|
|
3
|
+
projects: string[];
|
|
4
|
+
extensions: string[];
|
|
5
|
+
graphqlClient: 'apollo' | 'relay' | 'lokka' | 'fraql' | 'literal';
|
|
6
|
+
scope: string;
|
|
7
|
+
config: Record<string, any>;
|
|
8
|
+
}>;
|
|
9
|
+
|
|
10
|
+
export declare const createEslint: (options?: Options) => ({ rootPath, projects, extensions, graphqlClient, scope, config, }?: Config) => {
|
|
11
|
+
root: boolean;
|
|
12
|
+
env: {
|
|
13
|
+
browser: boolean;
|
|
14
|
+
node: boolean;
|
|
15
|
+
es2022: boolean;
|
|
16
|
+
};
|
|
17
|
+
globals: {
|
|
18
|
+
__NODE__: boolean;
|
|
19
|
+
__WEB__: boolean;
|
|
20
|
+
__BROWSER__: boolean;
|
|
21
|
+
__NATIVE__: boolean;
|
|
22
|
+
__CLIENT__: boolean;
|
|
23
|
+
};
|
|
24
|
+
parser: string;
|
|
25
|
+
plugins: string[];
|
|
26
|
+
parserOptions: {
|
|
27
|
+
tsconfigRootDir: string;
|
|
28
|
+
project: any[];
|
|
29
|
+
ecmaFeatures: {
|
|
30
|
+
jsx: boolean;
|
|
31
|
+
};
|
|
32
|
+
ecmaVersion: string;
|
|
33
|
+
sourceType: string;
|
|
34
|
+
};
|
|
35
|
+
extends: string[];
|
|
36
|
+
settings: {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
};
|
|
39
|
+
rules: {
|
|
40
|
+
'no-unused-vars': string;
|
|
41
|
+
'no-useless-constructor': string;
|
|
42
|
+
'no-shadow': string;
|
|
43
|
+
'no-use-before-define': string;
|
|
44
|
+
'no-param-reassign': (string | {
|
|
45
|
+
props: boolean;
|
|
46
|
+
ignorePropertyModificationsFor: string[];
|
|
47
|
+
})[];
|
|
48
|
+
};
|
|
49
|
+
overrides: Record<string, any>[];
|
|
50
|
+
} & Record<string, any>;
|
|
51
|
+
|
|
52
|
+
export declare const eslint: {
|
|
53
|
+
root: boolean;
|
|
54
|
+
env: {
|
|
55
|
+
browser: boolean;
|
|
56
|
+
node: boolean;
|
|
57
|
+
es2022: boolean;
|
|
58
|
+
};
|
|
59
|
+
globals: {
|
|
60
|
+
__NODE__: boolean;
|
|
61
|
+
__WEB__: boolean;
|
|
62
|
+
__BROWSER__: boolean;
|
|
63
|
+
__NATIVE__: boolean;
|
|
64
|
+
__CLIENT__: boolean;
|
|
65
|
+
};
|
|
66
|
+
parser: string;
|
|
67
|
+
plugins: string[];
|
|
68
|
+
parserOptions: {
|
|
69
|
+
tsconfigRootDir: string;
|
|
70
|
+
project: any[];
|
|
71
|
+
ecmaFeatures: {
|
|
72
|
+
jsx: boolean;
|
|
73
|
+
};
|
|
74
|
+
ecmaVersion: string;
|
|
75
|
+
sourceType: string;
|
|
76
|
+
};
|
|
77
|
+
extends: string[];
|
|
78
|
+
settings: {
|
|
79
|
+
[x: string]: any;
|
|
80
|
+
};
|
|
81
|
+
rules: {
|
|
82
|
+
'no-unused-vars': string;
|
|
83
|
+
'no-useless-constructor': string;
|
|
84
|
+
'no-shadow': string;
|
|
85
|
+
'no-use-before-define': string;
|
|
86
|
+
'no-param-reassign': (string | {
|
|
87
|
+
props: boolean;
|
|
88
|
+
ignorePropertyModificationsFor: string[];
|
|
89
|
+
})[];
|
|
90
|
+
};
|
|
91
|
+
overrides: Record<string, any>[];
|
|
92
|
+
} & Record<string, any>;
|
|
93
|
+
|
|
94
|
+
declare type Options = Partial<{
|
|
95
|
+
import: boolean;
|
|
96
|
+
react: boolean;
|
|
97
|
+
typescript: boolean;
|
|
98
|
+
a11y: boolean;
|
|
99
|
+
markdown: boolean;
|
|
100
|
+
prettier: boolean;
|
|
101
|
+
graphql: boolean;
|
|
102
|
+
jest: boolean;
|
|
103
|
+
}>;
|
|
104
|
+
|
|
105
|
+
export declare const styles: {
|
|
106
|
+
processors: string[];
|
|
107
|
+
extends: string[];
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/eslint/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,QAAA,MAAM,cAAc,wBACkC,CAAA;AAEtD,QAAA,MAAM,WAAW,YAAa,OAAO,aAYpC,CAAA;AAED,QAAA,MAAM,kBAAkB,YAAa,OAAO,aAsB3C,CAAA;AAED,QAAA,MAAM,YAAY,cACL,OAAO,GAAG,IAAI,GAAG,SAAS,WAC7B,OAAO,MAAM,EAAE,GAAG,CAAC,KAC1B,OAAO,MAAM,EAAE,GAAG,CAA8B,CAAA;AAEnD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,kBAAkB,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/eslint/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,KAAK,MAAM,GAAG,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,EAAE,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAA;IACjE,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC5B,CAAC,CAAA;AAEF,QAAA,MAAM,YAAY,aACL,OAAO,0EAQf,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAuQR,CAAA;AAEH,OAAO,EAAE,YAAY,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACvB,wBAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/eslint/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,OAAO,CAAA;IACd,UAAU,EAAE,OAAO,CAAA;IACnB,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;CACd,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,EAAE,EAAE,YAAY,EAAE,iBAAgB;AAC/C,OAAO,MAAM,iBAAgB;AAE7B,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/styles.ts"],"names":[],"mappings":";;;;AAAA,wBAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/tools-lint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"typescript": "*"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@vitus-labs/tools-babel": "0.
|
|
38
|
-
"@vitus-labs/tools-rollup": "0.
|
|
39
|
-
"@vitus-labs/tools-typescript": "0.
|
|
37
|
+
"@vitus-labs/tools-babel": "0.39.0",
|
|
38
|
+
"@vitus-labs/tools-rollup": "0.39.0",
|
|
39
|
+
"@vitus-labs/tools-typescript": "0.39.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"stylelint-config-styled-components": "^0.1.1",
|
|
61
61
|
"stylelint-processor-styled-components": "^1.10.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "722f3e39c59a1fbb531dbd3d0c7a1dce5b9c4471"
|
|
64
64
|
}
|