@vitus-labs/tools-lint 0.38.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.
@@ -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":"2bc5-1","name":"helpers.ts"},{"uid":"2bc5-3","name":"index.ts"}]},{"uid":"2bc5-5","name":"styles.ts"},{"uid":"2bc5-7","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2bc5-1":{"renderedLength":1346,"gzipLength":396,"brotliLength":0,"metaUid":"2bc5-0"},"2bc5-3":{"renderedLength":9763,"gzipLength":1815,"brotliLength":0,"metaUid":"2bc5-2"},"2bc5-5":{"renderedLength":228,"gzipLength":133,"brotliLength":0,"metaUid":"2bc5-4"},"2bc5-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"2bc5-6"}},"nodeMetas":{"2bc5-0":{"id":"/src/eslint/helpers.ts","moduleParts":{"vitus-tools-lint.js":"2bc5-1"},"imported":[],"importedBy":[{"uid":"2bc5-2"}]},"2bc5-2":{"id":"/src/eslint/index.ts","moduleParts":{"vitus-tools-lint.js":"2bc5-3"},"imported":[{"uid":"2bc5-8"},{"uid":"2bc5-0"}],"importedBy":[{"uid":"2bc5-6"}]},"2bc5-4":{"id":"/src/styles.ts","moduleParts":{"vitus-tools-lint.js":"2bc5-5"},"imported":[],"importedBy":[{"uid":"2bc5-6"}]},"2bc5-6":{"id":"/src/index.ts","moduleParts":{"vitus-tools-lint.js":"2bc5-7"},"imported":[{"uid":"2bc5-2"},{"uid":"2bc5-4"}],"importedBy":[],"isEntry":true},"2bc5-8":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"2bc5-2"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
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":"2bc5-10","name":"helpers.ts"},{"uid":"2bc5-12","name":"index.ts"}]},{"uid":"2bc5-14","name":"styles.ts"},{"uid":"2bc5-16","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2bc5-10":{"renderedLength":1346,"gzipLength":396,"brotliLength":0,"metaUid":"2bc5-9"},"2bc5-12":{"renderedLength":9728,"gzipLength":1804,"brotliLength":0,"metaUid":"2bc5-11"},"2bc5-14":{"renderedLength":228,"gzipLength":133,"brotliLength":0,"metaUid":"2bc5-13"},"2bc5-16":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"2bc5-15"}},"nodeMetas":{"2bc5-9":{"id":"/src/eslint/helpers.ts","moduleParts":{"vitus-tools-lint.module.js":"2bc5-10"},"imported":[],"importedBy":[{"uid":"2bc5-11"}]},"2bc5-11":{"id":"/src/eslint/index.ts","moduleParts":{"vitus-tools-lint.module.js":"2bc5-12"},"imported":[{"uid":"2bc5-17"},{"uid":"2bc5-9"}],"importedBy":[{"uid":"2bc5-15"}]},"2bc5-13":{"id":"/src/styles.ts","moduleParts":{"vitus-tools-lint.module.js":"2bc5-14"},"imported":[],"importedBy":[{"uid":"2bc5-15"}]},"2bc5-15":{"id":"/src/index.ts","moduleParts":{"vitus-tools-lint.module.js":"2bc5-16"},"imported":[{"uid":"2bc5-11"},{"uid":"2bc5-13"}],"importedBy":[],"isEntry":true},"2bc5-17":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"2bc5-11"}],"isExternal":true}},"env":{"rollup":"3.9.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
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 CHANGED
@@ -1,14 +1,3 @@
1
- declare type Options = Partial<{
2
- import: boolean;
3
- react: boolean;
4
- typescript: boolean;
5
- a11y: boolean;
6
- markdown: boolean;
7
- prettier: boolean;
8
- graphql: boolean;
9
- jest: boolean;
10
- }>;
11
-
12
1
  declare type Config = Partial<{
13
2
  rootPath: string;
14
3
  projects: string[];
@@ -17,7 +6,8 @@ declare type Config = Partial<{
17
6
  scope: string;
18
7
  config: Record<string, any>;
19
8
  }>;
20
- declare const createEslint: (options?: Options) => ({ rootPath, projects, extensions, graphqlClient, scope, config, }?: Config) => {
9
+
10
+ export declare const createEslint: (options?: Options) => ({ rootPath, projects, extensions, graphqlClient, scope, config, }?: Config) => {
21
11
  root: boolean;
22
12
  env: {
23
13
  browser: boolean;
@@ -59,7 +49,7 @@ declare const createEslint: (options?: Options) => ({ rootPath, projects, extens
59
49
  overrides: Record<string, any>[];
60
50
  } & Record<string, any>;
61
51
 
62
- declare const _default$1: {
52
+ export declare const eslint: {
63
53
  root: boolean;
64
54
  env: {
65
55
  browser: boolean;
@@ -99,11 +89,22 @@ declare const _default$1: {
99
89
  })[];
100
90
  };
101
91
  overrides: Record<string, any>[];
102
- } & Record<string, any>;
103
-
104
- declare const _default: {
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: {
105
106
  processors: string[];
106
107
  extends: string[];
107
- };
108
-
109
- export { createEslint, _default$1 as eslint, _default as styles };
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"}
@@ -1,5 +1,5 @@
1
1
  import type { Options } from './types';
2
- declare type Config = Partial<{
2
+ type Config = Partial<{
3
3
  rootPath: string;
4
4
  projects: string[];
5
5
  extensions: string[];
@@ -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"}
@@ -1,4 +1,4 @@
1
- export declare type Options = Partial<{
1
+ export type Options = Partial<{
2
2
  import: boolean;
3
3
  react: boolean;
4
4
  typescript: boolean;
@@ -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.38.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.0",
38
- "@vitus-labs/tools-rollup": "0.38.0",
39
- "@vitus-labs/tools-typescript": "0.38.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": "b70a498a8ddad3a388bc568c225c8d609fa1deca"
63
+ "gitHead": "722f3e39c59a1fbb531dbd3d0c7a1dce5b9c4471"
64
64
  }