lint-suite 2.0.2 → 2.1.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/README.md +18 -4
- package/eslint.js +204 -81
- package/eslint.js.map +4 -4
- package/lib/rules/file-cache.d.ts +1 -1
- package/lib/rules/file-cache.d.ts.map +1 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-classes.d.ts.map +1 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-collection.d.ts +1 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-collection.d.ts.map +1 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-imports.d.ts +8 -1
- package/lib/rules/no-unstyled-classes/styles/stylesheet-imports.d.ts.map +1 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/angular/angular-template-reads.d.ts.map +1 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts +1 -0
- package/lib/rules/no-unused-angular-instance-fields/project-usage/common/project-index.type.d.ts.map +1 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-file-entry.d.ts.map +1 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/project-index-reconciliation.d.ts.map +1 -1
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-dangling-imports.d.ts +8 -0
- package/lib/rules/no-unused-angular-instance-fields/project-usage/typescript/typescript-dangling-imports.d.ts.map +1 -0
- package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts +9 -1
- package/lib/rules/no-unused-exports/common/no-unused-exports.type.d.ts.map +1 -1
- package/lib/rules/no-unused-exports/disk-resolver.d.ts +9 -0
- package/lib/rules/no-unused-exports/disk-resolver.d.ts.map +1 -0
- package/lib/rules/no-unused-exports/export-index.d.ts.map +1 -1
- package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts +3 -3
- package/lib/rules/no-unused-exports/utils/module-edges.util.d.ts.map +1 -1
- package/lib/rules/no-unused-exports/utils/module-resolver.util.d.ts +8 -0
- package/lib/rules/no-unused-exports/utils/module-resolver.util.d.ts.map +1 -0
- package/lib/rules/package-version.d.ts +2 -0
- package/lib/rules/package-version.d.ts.map +1 -0
- package/package.json +4 -7
- package/stylelint.js +65 -18
- package/stylelint.js.map +4 -4
- package/eslint.cjs +0 -7376
- package/eslint.cjs.map +0 -7
- package/lib/rules/no-unused-exports/utils/module-target.util.d.ts +0 -4
- package/lib/rules/no-unused-exports/utils/module-target.util.d.ts.map +0 -1
- package/prettier.cjs +0 -50
- package/prettier.cjs.map +0 -7
- package/stylelint.cjs +0 -968
- package/stylelint.cjs.map +0 -7
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Expression, TypeChecker } from 'typescript';
|
|
2
|
-
import type { IsExternalFile } from '../common/no-unused-exports.type.ts';
|
|
3
|
-
export declare const moduleTarget: (specifier: Expression | undefined, checker: TypeChecker, isExternal: IsExternalFile) => string | undefined;
|
|
4
|
-
//# sourceMappingURL=module-target.util.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module-target.util.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/lint-suite/src/lib/rules/no-unused-exports/utils/module-target.util.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAQ,WAAW,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAa1E,eAAO,MAAM,YAAY,GACvB,WAAW,UAAU,GAAG,SAAS,EACjC,SAAS,WAAW,EACpB,YAAY,cAAc,KACzB,MAAM,GAAG,SAgBX,CAAC"}
|
package/prettier.cjs
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// packages/lint-suite/src/prettier.ts
|
|
21
|
-
var prettier_exports = {};
|
|
22
|
-
__export(prettier_exports, {
|
|
23
|
-
prettier: () => prettier
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(prettier_exports);
|
|
26
|
-
|
|
27
|
-
// packages/lint-suite/src/lib/line-length.const.ts
|
|
28
|
-
var MAX_LINE_LENGTH = 135;
|
|
29
|
-
|
|
30
|
-
// packages/lint-suite/src/prettier.ts
|
|
31
|
-
var prettier = {
|
|
32
|
-
singleQuote: true,
|
|
33
|
-
semi: true,
|
|
34
|
-
tabWidth: 2,
|
|
35
|
-
printWidth: MAX_LINE_LENGTH,
|
|
36
|
-
trailingComma: "none",
|
|
37
|
-
bracketSpacing: true,
|
|
38
|
-
bracketSameLine: true,
|
|
39
|
-
arrowParens: "always",
|
|
40
|
-
endOfLine: "lf",
|
|
41
|
-
overrides: [
|
|
42
|
-
{ files: "*.html", options: { parser: "html" } },
|
|
43
|
-
{ files: "*.component.html", options: { parser: "angular" } }
|
|
44
|
-
]
|
|
45
|
-
};
|
|
46
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
-
0 && (module.exports = {
|
|
48
|
-
prettier
|
|
49
|
-
});
|
|
50
|
-
//# sourceMappingURL=prettier.cjs.map
|
package/prettier.cjs.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../packages/lint-suite/src/prettier.ts", "../../../../packages/lint-suite/src/lib/line-length.const.ts"],
|
|
4
|
-
"sourcesContent": ["import type { Config } from 'prettier';\n\nimport { MAX_LINE_LENGTH } from './lib/line-length.const.ts';\n\nexport const prettier: Config = {\n singleQuote: true,\n semi: true,\n tabWidth: 2,\n printWidth: MAX_LINE_LENGTH,\n trailingComma: 'none',\n bracketSpacing: true,\n bracketSameLine: true,\n arrowParens: 'always',\n endOfLine: 'lf',\n overrides: [\n { files: '*.html', options: { parser: 'html' } },\n { files: '*.component.html', options: { parser: 'angular' } }\n ]\n};\n", "export const MAX_LINE_LENGTH = 135;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAO,IAAM,kBAAkB;;;ADIxB,IAAM,WAAmB;AAAA,EAC9B,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW;AAAA,IACT,EAAE,OAAO,UAAU,SAAS,EAAE,QAAQ,OAAO,EAAE;AAAA,IAC/C,EAAE,OAAO,oBAAoB,SAAS,EAAE,QAAQ,UAAU,EAAE;AAAA,EAC9D;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|