skyux-eslint 11.18.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 +51 -0
- package/collection.json +9 -0
- package/package.json +38 -0
- package/src/__deprecations.json +1 -0
- package/src/configs/template-all.d.ts +33 -0
- package/src/configs/template-all.js +16 -0
- package/src/configs/template-all.js.map +1 -0
- package/src/configs/template-base.d.ts +26 -0
- package/src/configs/template-base.js +10 -0
- package/src/configs/template-base.js.map +1 -0
- package/src/configs/template-recommended.d.ts +33 -0
- package/src/configs/template-recommended.js +16 -0
- package/src/configs/template-recommended.js.map +1 -0
- package/src/configs/ts-all.d.ts +105 -0
- package/src/configs/ts-all.js +16 -0
- package/src/configs/ts-all.js.map +1 -0
- package/src/configs/ts-base-type-checked.d.ts +30 -0
- package/src/configs/ts-base-type-checked.js +30 -0
- package/src/configs/ts-base-type-checked.js.map +1 -0
- package/src/configs/ts-base.d.ts +72 -0
- package/src/configs/ts-base.js +88 -0
- package/src/configs/ts-base.js.map +1 -0
- package/src/configs/ts-recommended.d.ts +105 -0
- package/src/configs/ts-recommended.js +16 -0
- package/src/configs/ts-recommended.js.map +1 -0
- package/src/index.d.ts +545 -0
- package/src/index.js +22 -0
- package/src/index.js.map +1 -0
- package/src/plugins/template-plugin.d.ts +22 -0
- package/src/plugins/template-plugin.js +18 -0
- package/src/plugins/template-plugin.js.map +1 -0
- package/src/plugins/ts-plugin.d.ts +3 -0
- package/src/plugins/ts-plugin.js +13 -0
- package/src/plugins/ts-plugin.js.map +1 -0
- package/src/rules/no-lambda-imports.d.ts +3 -0
- package/src/rules/no-lambda-imports.js +42 -0
- package/src/rules/no-lambda-imports.js.map +1 -0
- package/src/rules/template/no-deprecated-directives.d.ts +3 -0
- package/src/rules/template/no-deprecated-directives.js +86 -0
- package/src/rules/template/no-deprecated-directives.js.map +1 -0
- package/src/rules/template/no-unbound-id.d.ts +3 -0
- package/src/rules/template/no-unbound-id.js +41 -0
- package/src/rules/template/no-unbound-id.js.map +1 -0
- package/src/rules/template/prefer-label-text.d.ts +3 -0
- package/src/rules/template/prefer-label-text.js +108 -0
- package/src/rules/template/prefer-label-text.js.map +1 -0
- package/src/rules/testing/create-template-rule-tester.d.ts +2 -0
- package/src/rules/testing/create-template-rule-tester.js +14 -0
- package/src/rules/testing/create-template-rule-tester.js.map +1 -0
- package/src/rules/utils/create-eslint-rule.d.ts +2 -0
- package/src/rules/utils/create-eslint-rule.js +11 -0
- package/src/rules/utils/create-eslint-rule.js.map +1 -0
- package/src/rules/utils/create-eslint-template-rule.d.ts +2 -0
- package/src/rules/utils/create-eslint-template-rule.js +11 -0
- package/src/rules/utils/create-eslint-template-rule.js.map +1 -0
- package/src/rules/utils/get-child-node-of.d.ts +2 -0
- package/src/rules/utils/get-child-node-of.js +17 -0
- package/src/rules/utils/get-child-node-of.js.map +1 -0
- package/src/rules/utils/get-text-content.d.ts +2 -0
- package/src/rules/utils/get-text-content.js +20 -0
- package/src/rules/utils/get-text-content.js.map +1 -0
- package/src/schematics/ng-add/ng-add.schematic.d.ts +2 -0
- package/src/schematics/ng-add/ng-add.schematic.js +32 -0
- package/src/schematics/ng-add/ng-add.schematic.js.map +1 -0
- package/src/schematics/testing/scaffold.d.ts +16 -0
- package/src/schematics/testing/scaffold.js +41 -0
- package/src/schematics/testing/scaffold.js.map +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# skyux-eslint (Developer Preview)
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
## Running unit tests
|
|
6
|
+
|
|
7
|
+
Run `nx test skyux-eslint` to execute the unit tests via [Jest](https://jestjs.io).
|
|
8
|
+
|
|
9
|
+
## Implement in eslint.config.js
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
// @ts-check
|
|
13
|
+
const eslint = require('@eslint/js');
|
|
14
|
+
const angular = require('angular-eslint');
|
|
15
|
+
const skyux = require('skyux-eslint');
|
|
16
|
+
const tseslint = require('typescript-eslint');
|
|
17
|
+
|
|
18
|
+
module.exports = tseslint.config(
|
|
19
|
+
{
|
|
20
|
+
files: ['**/*.ts'],
|
|
21
|
+
extends: [
|
|
22
|
+
eslint.configs.recommended,
|
|
23
|
+
...tseslint.configs.recommended,
|
|
24
|
+
...tseslint.configs.stylistic,
|
|
25
|
+
...angular.configs.tsRecommended,
|
|
26
|
+
...skyux.configs.tsRecommended,
|
|
27
|
+
],
|
|
28
|
+
processor: angular.processInlineTemplates,
|
|
29
|
+
rules: {
|
|
30
|
+
// ...
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
files: ['**/*.html'],
|
|
35
|
+
extends: [
|
|
36
|
+
...angular.configs.templateRecommended,
|
|
37
|
+
...angular.configs.templateAccessibility,
|
|
38
|
+
...skyux.configs.templateRecommended,
|
|
39
|
+
],
|
|
40
|
+
rules: {},
|
|
41
|
+
},
|
|
42
|
+
);
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Refresh deprecations summary for `skyux-eslint-template/no-deprecated-directives` rule
|
|
46
|
+
|
|
47
|
+
Note: Only do this for prerelease versions since updating the deprecations summary could result in a breaking change for our consumers.
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
npm run dev:refresh-skyux-eslint-deprecations-summary
|
|
51
|
+
```
|
package/collection.json
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "skyux-eslint",
|
|
3
|
+
"version": "11.18.0",
|
|
4
|
+
"author": "Blackbaud, Inc.",
|
|
5
|
+
"description": "Recommended ESLint configuration for SKY UX projects",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"blackbaud",
|
|
8
|
+
"skyux"
|
|
9
|
+
],
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/blackbaud/skyux.git"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/blackbaud/skyux/issues"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
19
|
+
"schematics": "./collection.json",
|
|
20
|
+
"ng-add": {
|
|
21
|
+
"save": "devDependencies"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@angular-eslint/bundled-angular-compiler": "^18.3.1",
|
|
25
|
+
"@angular-eslint/eslint-plugin-template": "^18.3.1",
|
|
26
|
+
"@angular-eslint/template-parser": "^18.3.1",
|
|
27
|
+
"@angular-eslint/test-utils": "^18.3.1",
|
|
28
|
+
"@angular-eslint/utils": "^18.3.1",
|
|
29
|
+
"@angular/cli": "^18.2.8",
|
|
30
|
+
"@typescript-eslint/utils": "^8.8.0"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"tslib": "^2.6.3"
|
|
34
|
+
},
|
|
35
|
+
"main": "./src/index.js",
|
|
36
|
+
"type": "commonjs",
|
|
37
|
+
"types": "./src/index.d.ts"
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "components": { "sky-tile": { "deprecated": false, "properties": { "helpClick": { "reason": "Set the `helpKey` or `helpPopoverContent` inputs instead." }, "showHelp": { "reason": "Set the `helpKey` or `helpPopoverContent` inputs instead." } } }, "sky-tab": { "deprecated": false, "properties": { "tabHeaderCount": { "reason": "SKY UX no longer recommends adding counts to tabs." } } }, "sky-vertical-tab": { "deprecated": false, "properties": { "ariaControls": { "reason": "Now that the vertical tabs provide aria labels automatically, this input is no longer necessary." }, "ariaRole": { "reason": "Any other value than `tab` could lead to a poor user experience for users with assistive technology. In the next major version, this property will be automatically set to `tab`." }, "tabId": { "reason": "Now that the vertical tabs provide aria labels automatically, this input is no longer necessary." } } }, "sky-vertical-tabset": { "deprecated": false, "properties": { "ariaRole": { "reason": "Any other value than `tablist` could lead to a poor user experience for users with assistive technology. In the next major version, this property will be automatically set to `tablist`." } } }, "sky-split-view": { "deprecated": false, "properties": { "bindHeightToWindow": { "reason": "We recommend using the `dock` input instead. An example of this can be found in the developer code examples." } } }, "sky-select-field": { "deprecated": true, "reason": "`SkySelectFieldComponent` is deprecated. Use `SkyLookupComponent` instead." }, "sky-progress-indicator": { "deprecated": false, "properties": { "displayMode": { "reason": "The property was designed to create wizards by setting `displayMode=\"horizontal\"` on progress indicators in modals, but this wizard implementation was replaced by the\n[Wizard (Tabs) component](https://developer.blackbaud.com/skyux/components/progress-indicator)." } } }, "sky-dropdown": { "deprecated": false, "properties": { "trigger": { "reason": "We recommend against using this property. If you choose to use the deprecated `hover` value anyway, we recommend that you not use it in combination with the `title` property." } } }, "sky-autocomplete": { "deprecated": false, "properties": { "propertiesToSearch": { "reason": "We recommend against using this property. To search specific properties, use the `searchAsync` event instead." }, "search": { "reason": "We recommend against using this property. To call a remote data source, use the `searchAsync` event instead." }, "searchFilters": { "reason": "We recommend against using this property. To filter results, use the `searchAsync` event instead." } } }, "sky-country-field": { "deprecated": false, "properties": { "autocompleteAttribute": { "reason": "SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction." } } }, "sky-lookup": { "deprecated": false, "properties": { "ariaLabel": { "reason": "Use the input box `labelText` input instead." }, "ariaLabelledBy": { "reason": "Use the input box `labelText` input instead." }, "autocompleteAttribute": { "reason": "SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction." }, "data": { "reason": "Use the `searchAsync` event emitter and callback instead to provide data to the lookup component." }, "propertiesToSearch": { "reason": "Use the `searchAsync` event emitter and callback instead to provide data to the lookup component." }, "search": { "reason": "Use the `searchAsync` event emitter and callback instead to provide searched data to the lookup component." }, "searchFilters": { "reason": "Use the `searchAsync` event emitter and callback instead to provide searched data to the lookup component." } } }, "sky-list-view-grid": { "deprecated": true, "reason": "List builder view grid and its features are deprecated. Use data entry grid instead. For more information, see https://developer.blackbaud.com/skyux/components/data-entry-grid." }, "sky-list-view-checklist": { "deprecated": true, "reason": "List builder view checklist and its features are deprecated. Use repeater instead. For more information, see https://developer.blackbaud.com/skyux/components/repeater." }, "sky-list-view-checklist-item": { "deprecated": true }, "sky-list": { "deprecated": true, "reason": "List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager." }, "sky-list-secondary-actions": { "deprecated": true }, "sky-list-toolbar": { "deprecated": true }, "sky-list-filter-button": { "deprecated": true }, "sky-list-toolbar-view-actions": { "deprecated": true }, "sky-list-toolbar-search-actions": { "deprecated": true }, "sky-list-filter-summary": { "deprecated": true }, "sky-list-filter-inline-item": { "deprecated": true }, "sky-list-filter-inline": { "deprecated": true }, "sky-list-paging": { "deprecated": true }, "sky-list-secondary-action": { "deprecated": true }, "sky-list-toolbar-item": { "deprecated": true }, "sky-list-toolbar-sort": { "deprecated": true }, "sky-card-actions": { "deprecated": true }, "sky-card-content": { "deprecated": true }, "sky-card-title": { "deprecated": true }, "sky-page-summary": { "deprecated": true, "reason": "`SkyPageSummaryComponent` is deprecated. For page templates and techniques to summarize page content, see the page design guidelines. For more information, see https://developer.blackbaud.com/skyux/design/guidelines/page-layouts." }, "sky-page-summary-alert": { "deprecated": true }, "sky-page-summary-content": { "deprecated": true }, "sky-page-summary-image": { "deprecated": true }, "sky-page-summary-key-info": { "deprecated": true }, "sky-page-summary-status": { "deprecated": true }, "sky-page-summary-subtitle": { "deprecated": true }, "sky-page-summary-title": { "deprecated": true }, "sky-box": { "deprecated": false, "properties": { "ariaLabel": { "reason": "Use `headingText` instead." }, "ariaLabelledBy": { "reason": "Use `headingText` instead." } } }, "sky-box-header": { "deprecated": true, "reason": "Use `headingText` input on the `sky-box` component instead." }, "sky-card": { "deprecated": true, "reason": "`SkyCardComponent` is deprecated. For other SKY UX components that group and list content, see the content containers guidelines. For more information, see https://developer.blackbaud.com/skyux/design/guidelines/content-containers." }, "sky-icon": { "deprecated": false, "properties": { "iconType": { "reason": "The icon component now automatically infers which type of icon to use based on the current theme. This input will be removed in a future version." } } }, "sky-grid-column": { "deprecated": true, "reason": "`SkyGridComponent` and its features are deprecated. We recommend using the data grid instead. For more information, see https://developer.blackbaud.com/skyux/components/data-grid" }, "sky-grid": { "deprecated": true, "reason": "`SkyGridComponent` and its features are deprecated. We recommend using the data grid instead. For more information, see https://developer.blackbaud.com/skyux/components/data-grid" }, "sky-radio-group": { "deprecated": false, "properties": { "ariaLabel": { "reason": "Use `headingText` instead." }, "ariaLabelledBy": { "reason": "Use `headingText` instead." } } }, "sky-radio-label": { "deprecated": true, "reason": "Use `labelText` input on `sky-radio-component` instead." }, "sky-radio": { "deprecated": false, "properties": { "label": { "reason": "Use `labelText` instead." }, "labelledBy": { "reason": "Use `labelText` instead." }, "name": {}, "radioType": { "reason": "radioType is no longer supported" }, "tabindex": {} } }, "sky-toggle-switch-label": { "deprecated": true, "reason": "Use the `labelText` input on the toggle switch component instead." }, "sky-toggle-switch": { "deprecated": false, "properties": { "ariaLabel": { "reason": "Use the `labelText` input instead." } } }, "sky-checkbox": { "deprecated": false, "properties": { "checkboxType": { "reason": "checkboxType is no longer supported" }, "label": { "reason": "Use `labelText` instead." }, "labelledBy": { "reason": "Use `labelText` instead." } } }, "sky-checkbox-label": { "deprecated": true, "reason": "Use `labelText` input on `sky-checkbox-component` instead." }, "sky-file-attachment-label": { "deprecated": true, "reason": "Use the `labelText` input on the single file attachment component instead." }, "sky-file-attachment": { "deprecated": false, "properties": { "fileChange": { "reason": "Subscribe to the form control's `valueChanges` event instead." }, "validateFn": { "reason": "Add a custom Angular `Validator` function to the `FormControl` instead." } } }, "sky-date-range-picker": { "deprecated": false, "properties": { "label": { "reason": "Use the `labelText` input instead." } } } }, "directives": { "skyPopover": { "deprecated": false, "properties": { "skyPopoverTrigger": { "reason": "To ensure usability on touch devices, trigger user-invoked popovers on `click` actions rather than `mouseenter` actions." } } }, "skyAutocomplete": { "deprecated": false, "properties": { "autocompleteAttribute": { "reason": "SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction." } } }, "skyColorpickerInput": { "deprecated": false, "properties": { "returnFormat": {}, "initialColor": {} } } } }
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
declare const _default: ({
|
|
3
|
+
plugins: {
|
|
4
|
+
'skyux-eslint-template': {
|
|
5
|
+
meta: {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
processors: {
|
|
9
|
+
'extract-inline-html': {
|
|
10
|
+
meta: {
|
|
11
|
+
name: string;
|
|
12
|
+
};
|
|
13
|
+
preprocess: typeof import("@angular-eslint/eslint-plugin-template/dist/processors").preprocessComponentFile;
|
|
14
|
+
postprocess: typeof import("@angular-eslint/eslint-plugin-template/dist/processors").postprocessComponentFile;
|
|
15
|
+
supportsAutofix: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
rules: {
|
|
19
|
+
"no-deprecated-directives": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
20
|
+
"no-unbound-id": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
21
|
+
"prefer-label-text": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
name: string;
|
|
27
|
+
rules: {
|
|
28
|
+
'skyux-eslint-template/no-deprecated-directives': "error";
|
|
29
|
+
'skyux-eslint-template/no-unbound-id': "error";
|
|
30
|
+
'skyux-eslint-template/prefer-label-text': "error";
|
|
31
|
+
};
|
|
32
|
+
})[];
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const template_base_1 = tslib_1.__importDefault(require("./template-base"));
|
|
5
|
+
exports.default = [
|
|
6
|
+
template_base_1.default,
|
|
7
|
+
{
|
|
8
|
+
name: 'skyux-eslint-template-all',
|
|
9
|
+
rules: {
|
|
10
|
+
'skyux-eslint-template/no-deprecated-directives': 'error',
|
|
11
|
+
'skyux-eslint-template/no-unbound-id': 'error',
|
|
12
|
+
'skyux-eslint-template/prefer-label-text': 'error',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=template-all.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-all.js","sourceRoot":"","sources":["../../../../../../libs/sdk/skyux-eslint/src/configs/template-all.ts"],"names":[],"mappings":";;;AAEA,4EAAiD;AAEjD,kBAAe;IACb,uBAAkB;IAClB;QACE,IAAI,EAAE,2BAA2B;QACjC,KAAK,EAAE;YACL,gDAAgD,EAAE,OAAO;YACzD,qCAAqC,EAAE,OAAO;YAC9C,yCAAyC,EAAE,OAAO;SACnD;KACF;CACwC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
plugins: {
|
|
4
|
+
'skyux-eslint-template': {
|
|
5
|
+
meta: {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
processors: {
|
|
9
|
+
'extract-inline-html': {
|
|
10
|
+
meta: {
|
|
11
|
+
name: string;
|
|
12
|
+
};
|
|
13
|
+
preprocess: typeof import("@angular-eslint/eslint-plugin-template/dist/processors").preprocessComponentFile;
|
|
14
|
+
postprocess: typeof import("@angular-eslint/eslint-plugin-template/dist/processors").postprocessComponentFile;
|
|
15
|
+
supportsAutofix: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
rules: {
|
|
19
|
+
"no-deprecated-directives": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
20
|
+
"no-unbound-id": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
21
|
+
"prefer-label-text": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const template_plugin_1 = tslib_1.__importDefault(require("../plugins/template-plugin"));
|
|
5
|
+
exports.default = {
|
|
6
|
+
plugins: {
|
|
7
|
+
'skyux-eslint-template': template_plugin_1.default,
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=template-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-base.js","sourceRoot":"","sources":["../../../../../../libs/sdk/skyux-eslint/src/configs/template-base.ts"],"names":[],"mappings":";;;AAEA,yFAAwD;AAExD,kBAAe;IACb,OAAO,EAAE;QACP,uBAAuB,EAAE,yBAAc;KACxC;CACmC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
declare const _default: ({
|
|
3
|
+
plugins: {
|
|
4
|
+
'skyux-eslint-template': {
|
|
5
|
+
meta: {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
processors: {
|
|
9
|
+
'extract-inline-html': {
|
|
10
|
+
meta: {
|
|
11
|
+
name: string;
|
|
12
|
+
};
|
|
13
|
+
preprocess: typeof import("@angular-eslint/eslint-plugin-template/dist/processors").preprocessComponentFile;
|
|
14
|
+
postprocess: typeof import("@angular-eslint/eslint-plugin-template/dist/processors").postprocessComponentFile;
|
|
15
|
+
supportsAutofix: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
rules: {
|
|
19
|
+
"no-deprecated-directives": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
20
|
+
"no-unbound-id": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
21
|
+
"prefer-label-text": TSESLint.RuleModule<string, readonly unknown[], unknown, TSESLint.RuleListener>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
name: string;
|
|
27
|
+
rules: {
|
|
28
|
+
'skyux-eslint-template/no-deprecated-directives': "error";
|
|
29
|
+
'skyux-eslint-template/no-unbound-id': "error";
|
|
30
|
+
'skyux-eslint-template/prefer-label-text': "error";
|
|
31
|
+
};
|
|
32
|
+
})[];
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const template_base_1 = tslib_1.__importDefault(require("./template-base"));
|
|
5
|
+
exports.default = [
|
|
6
|
+
template_base_1.default,
|
|
7
|
+
{
|
|
8
|
+
name: 'skyux-eslint-template-all',
|
|
9
|
+
rules: {
|
|
10
|
+
'skyux-eslint-template/no-deprecated-directives': 'error',
|
|
11
|
+
'skyux-eslint-template/no-unbound-id': 'error',
|
|
12
|
+
'skyux-eslint-template/prefer-label-text': 'error',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=template-recommended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-recommended.js","sourceRoot":"","sources":["../../../../../../libs/sdk/skyux-eslint/src/configs/template-recommended.ts"],"names":[],"mappings":";;;AAEA,4EAAiD;AAEjD,kBAAe;IACb,uBAAkB;IAClB;QACE,IAAI,EAAE,2BAA2B;QACjC,KAAK,EAAE;YACL,gDAAgD,EAAE,OAAO;YACzD,qCAAqC,EAAE,OAAO;YAC9C,yCAAyC,EAAE,OAAO;SACnD;KACF;CACwC,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
declare const _default: ({
|
|
3
|
+
linterOptions: {
|
|
4
|
+
reportUnusedDisableDirectives: true;
|
|
5
|
+
};
|
|
6
|
+
name: string;
|
|
7
|
+
plugins: {
|
|
8
|
+
'skyux-eslint': TSESLint.FlatConfig.Plugin;
|
|
9
|
+
};
|
|
10
|
+
rules: {
|
|
11
|
+
curly: "error";
|
|
12
|
+
'default-case': "error";
|
|
13
|
+
'default-case-last': "error";
|
|
14
|
+
eqeqeq: ["error", string];
|
|
15
|
+
'guard-for-in': "error";
|
|
16
|
+
'id-denylist': ["error", string, string, string, string, string, string, string, string, string, string, string];
|
|
17
|
+
'no-alert': "error";
|
|
18
|
+
'no-caller': "error";
|
|
19
|
+
'no-console': "error";
|
|
20
|
+
'no-constant-binary-expression': "error";
|
|
21
|
+
'no-constructor-return': "error";
|
|
22
|
+
'no-duplicate-imports': ["error", {
|
|
23
|
+
includeExports: boolean;
|
|
24
|
+
}];
|
|
25
|
+
'no-eval': "error";
|
|
26
|
+
'no-lonely-if': "error";
|
|
27
|
+
'no-mixed-operators': "error";
|
|
28
|
+
'no-new-wrappers': "error";
|
|
29
|
+
'no-self-compare': "error";
|
|
30
|
+
'no-template-curly-in-string': "error";
|
|
31
|
+
'no-unmodified-loop-condition': "error";
|
|
32
|
+
'no-unreachable-loop': "error";
|
|
33
|
+
'no-unused-private-class-members': "error";
|
|
34
|
+
'no-useless-return': "error";
|
|
35
|
+
'prefer-arrow-callback': "error";
|
|
36
|
+
'prefer-regex-literals': "error";
|
|
37
|
+
radix: "error";
|
|
38
|
+
'require-atomic-updates': "error";
|
|
39
|
+
'@angular-eslint/no-lifecycle-call': "error";
|
|
40
|
+
'@angular-eslint/sort-ngmodule-metadata-arrays': "error";
|
|
41
|
+
'@typescript-eslint/array-type': "error";
|
|
42
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
|
43
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
|
44
|
+
'default-param-last': "off";
|
|
45
|
+
'@typescript-eslint/default-param-last': "error";
|
|
46
|
+
'@typescript-eslint/explicit-member-accessibility': ["error", {
|
|
47
|
+
overrides: {
|
|
48
|
+
constructors: string;
|
|
49
|
+
};
|
|
50
|
+
}];
|
|
51
|
+
'@typescript-eslint/explicit-module-boundary-types': "error";
|
|
52
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
|
53
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
54
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
|
55
|
+
'no-shadow': "off";
|
|
56
|
+
'@typescript-eslint/no-shadow': "error";
|
|
57
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
58
|
+
'no-unused-expressions': "off";
|
|
59
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
60
|
+
'no-use-before-define': "off";
|
|
61
|
+
'@typescript-eslint/no-use-before-define': ["error", {
|
|
62
|
+
functions: boolean;
|
|
63
|
+
classes: boolean;
|
|
64
|
+
variables: boolean;
|
|
65
|
+
allowNamedExports: boolean;
|
|
66
|
+
}];
|
|
67
|
+
'@typescript-eslint/prefer-for-of': "error";
|
|
68
|
+
'@typescript-eslint/prefer-function-type': "error";
|
|
69
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
|
70
|
+
};
|
|
71
|
+
} | {
|
|
72
|
+
languageOptions: {
|
|
73
|
+
parserOptions: {
|
|
74
|
+
projectService: true;
|
|
75
|
+
tsconfigRootDir: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
name: string;
|
|
79
|
+
rules: {
|
|
80
|
+
'dot-notation': "off";
|
|
81
|
+
'@typescript-eslint/dot-notation': "error";
|
|
82
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
83
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
|
84
|
+
'@typescript-eslint/no-deprecated': "error";
|
|
85
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
|
86
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
87
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
|
88
|
+
'@typescript-eslint/prefer-includes': "error";
|
|
89
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
|
90
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
|
91
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
|
92
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
|
93
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
|
94
|
+
'@typescript-eslint/switch-exhaustiveness-check': "error";
|
|
95
|
+
'@typescript-eslint/unbound-method': ["error", {
|
|
96
|
+
ignoreStatic: boolean;
|
|
97
|
+
}];
|
|
98
|
+
};
|
|
99
|
+
} | {
|
|
100
|
+
name: string;
|
|
101
|
+
rules: {
|
|
102
|
+
'skyux-eslint/no-lambda-imports': "error";
|
|
103
|
+
};
|
|
104
|
+
})[];
|
|
105
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const ts_base_1 = tslib_1.__importDefault(require("./ts-base"));
|
|
5
|
+
const ts_base_type_checked_1 = tslib_1.__importDefault(require("./ts-base-type-checked"));
|
|
6
|
+
exports.default = [
|
|
7
|
+
ts_base_1.default,
|
|
8
|
+
ts_base_type_checked_1.default,
|
|
9
|
+
{
|
|
10
|
+
name: 'skyux-eslint/ts-all',
|
|
11
|
+
rules: {
|
|
12
|
+
'skyux-eslint/no-lambda-imports': 'error',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=ts-all.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-all.js","sourceRoot":"","sources":["../../../../../../libs/sdk/skyux-eslint/src/configs/ts-all.ts"],"names":[],"mappings":";;;AAEA,gEAAqC;AACrC,0FAA8D;AAE9D,kBAAe;IACb,iBAAY;IACZ,8BAAwB;IACxB;QACE,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE;YACL,gCAAgC,EAAE,OAAO;SAC1C;KACF;CACwC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
languageOptions: {
|
|
3
|
+
parserOptions: {
|
|
4
|
+
projectService: true;
|
|
5
|
+
tsconfigRootDir: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
name: string;
|
|
9
|
+
rules: {
|
|
10
|
+
'dot-notation': "off";
|
|
11
|
+
'@typescript-eslint/dot-notation': "error";
|
|
12
|
+
'@typescript-eslint/no-base-to-string': "error";
|
|
13
|
+
'@typescript-eslint/no-confusing-void-expression': "error";
|
|
14
|
+
'@typescript-eslint/no-deprecated': "error";
|
|
15
|
+
'@typescript-eslint/no-mixed-enums': "error";
|
|
16
|
+
'@typescript-eslint/no-redundant-type-constituents': "error";
|
|
17
|
+
'@typescript-eslint/non-nullable-type-assertion-style': "error";
|
|
18
|
+
'@typescript-eslint/prefer-includes': "error";
|
|
19
|
+
'@typescript-eslint/prefer-nullish-coalescing': "error";
|
|
20
|
+
'@typescript-eslint/prefer-optional-chain': "error";
|
|
21
|
+
'@typescript-eslint/prefer-reduce-type-parameter': "error";
|
|
22
|
+
'@typescript-eslint/prefer-return-this-type': "error";
|
|
23
|
+
'@typescript-eslint/prefer-string-starts-ends-with': "error";
|
|
24
|
+
'@typescript-eslint/switch-exhaustiveness-check': "error";
|
|
25
|
+
'@typescript-eslint/unbound-method': ["error", {
|
|
26
|
+
ignoreStatic: boolean;
|
|
27
|
+
}];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
languageOptions: {
|
|
5
|
+
parserOptions: {
|
|
6
|
+
projectService: true,
|
|
7
|
+
tsconfigRootDir: '.',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
name: 'skyux-eslint/ts-base-type-checked',
|
|
11
|
+
rules: {
|
|
12
|
+
'dot-notation': 'off',
|
|
13
|
+
'@typescript-eslint/dot-notation': 'error',
|
|
14
|
+
'@typescript-eslint/no-base-to-string': 'error',
|
|
15
|
+
'@typescript-eslint/no-confusing-void-expression': 'error',
|
|
16
|
+
'@typescript-eslint/no-deprecated': 'error',
|
|
17
|
+
'@typescript-eslint/no-mixed-enums': 'error',
|
|
18
|
+
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
|
19
|
+
'@typescript-eslint/non-nullable-type-assertion-style': 'error',
|
|
20
|
+
'@typescript-eslint/prefer-includes': 'error',
|
|
21
|
+
'@typescript-eslint/prefer-nullish-coalescing': 'error',
|
|
22
|
+
'@typescript-eslint/prefer-optional-chain': 'error',
|
|
23
|
+
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
|
|
24
|
+
'@typescript-eslint/prefer-return-this-type': 'error',
|
|
25
|
+
'@typescript-eslint/prefer-string-starts-ends-with': 'error',
|
|
26
|
+
'@typescript-eslint/switch-exhaustiveness-check': 'error',
|
|
27
|
+
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=ts-base-type-checked.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-base-type-checked.js","sourceRoot":"","sources":["../../../../../../libs/sdk/skyux-eslint/src/configs/ts-base-type-checked.ts"],"names":[],"mappings":";;AAEA,kBAAe;IACb,eAAe,EAAE;QACf,aAAa,EAAE;YACb,cAAc,EAAE,IAAI;YACpB,eAAe,EAAE,GAAG;SACrB;KACF;IACD,IAAI,EAAE,mCAAmC;IACzC,KAAK,EAAE;QACL,cAAc,EAAE,KAAK;QACrB,iCAAiC,EAAE,OAAO;QAC1C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,kCAAkC,EAAE,OAAO;QAC3C,mCAAmC,EAAE,OAAO;QAC5C,mDAAmD,EAAE,OAAO;QAC5D,sDAAsD,EAAE,OAAO;QAC/D,oCAAoC,EAAE,OAAO;QAC7C,8CAA8C,EAAE,OAAO;QACvD,0CAA0C,EAAE,OAAO;QACnD,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,mDAAmD,EAAE,OAAO;QAC5D,gDAAgD,EAAE,OAAO;QACzD,mCAAmC,EAAE,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;KACvE;CACmC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
linterOptions: {
|
|
4
|
+
reportUnusedDisableDirectives: true;
|
|
5
|
+
};
|
|
6
|
+
name: string;
|
|
7
|
+
plugins: {
|
|
8
|
+
'skyux-eslint': TSESLint.FlatConfig.Plugin;
|
|
9
|
+
};
|
|
10
|
+
rules: {
|
|
11
|
+
curly: "error";
|
|
12
|
+
'default-case': "error";
|
|
13
|
+
'default-case-last': "error";
|
|
14
|
+
eqeqeq: ["error", string];
|
|
15
|
+
'guard-for-in': "error";
|
|
16
|
+
'id-denylist': ["error", string, string, string, string, string, string, string, string, string, string, string];
|
|
17
|
+
'no-alert': "error";
|
|
18
|
+
'no-caller': "error";
|
|
19
|
+
'no-console': "error";
|
|
20
|
+
'no-constant-binary-expression': "error";
|
|
21
|
+
'no-constructor-return': "error";
|
|
22
|
+
'no-duplicate-imports': ["error", {
|
|
23
|
+
includeExports: boolean;
|
|
24
|
+
}];
|
|
25
|
+
'no-eval': "error";
|
|
26
|
+
'no-lonely-if': "error";
|
|
27
|
+
'no-mixed-operators': "error";
|
|
28
|
+
'no-new-wrappers': "error";
|
|
29
|
+
'no-self-compare': "error";
|
|
30
|
+
'no-template-curly-in-string': "error";
|
|
31
|
+
'no-unmodified-loop-condition': "error";
|
|
32
|
+
'no-unreachable-loop': "error";
|
|
33
|
+
'no-unused-private-class-members': "error";
|
|
34
|
+
'no-useless-return': "error";
|
|
35
|
+
'prefer-arrow-callback': "error";
|
|
36
|
+
'prefer-regex-literals': "error";
|
|
37
|
+
radix: "error";
|
|
38
|
+
'require-atomic-updates': "error";
|
|
39
|
+
'@angular-eslint/no-lifecycle-call': "error";
|
|
40
|
+
'@angular-eslint/sort-ngmodule-metadata-arrays': "error";
|
|
41
|
+
'@typescript-eslint/array-type': "error";
|
|
42
|
+
'@typescript-eslint/ban-tslint-comment': "error";
|
|
43
|
+
'@typescript-eslint/consistent-generic-constructors': "error";
|
|
44
|
+
'default-param-last': "off";
|
|
45
|
+
'@typescript-eslint/default-param-last': "error";
|
|
46
|
+
'@typescript-eslint/explicit-member-accessibility': ["error", {
|
|
47
|
+
overrides: {
|
|
48
|
+
constructors: string;
|
|
49
|
+
};
|
|
50
|
+
}];
|
|
51
|
+
'@typescript-eslint/explicit-module-boundary-types': "error";
|
|
52
|
+
'@typescript-eslint/no-confusing-non-null-assertion': "error";
|
|
53
|
+
'@typescript-eslint/no-duplicate-enum-values': "error";
|
|
54
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': "error";
|
|
55
|
+
'no-shadow': "off";
|
|
56
|
+
'@typescript-eslint/no-shadow': "error";
|
|
57
|
+
'@typescript-eslint/no-unsafe-declaration-merging': "error";
|
|
58
|
+
'no-unused-expressions': "off";
|
|
59
|
+
'@typescript-eslint/no-unused-expressions': "error";
|
|
60
|
+
'no-use-before-define': "off";
|
|
61
|
+
'@typescript-eslint/no-use-before-define': ["error", {
|
|
62
|
+
functions: boolean;
|
|
63
|
+
classes: boolean;
|
|
64
|
+
variables: boolean;
|
|
65
|
+
allowNamedExports: boolean;
|
|
66
|
+
}];
|
|
67
|
+
'@typescript-eslint/prefer-for-of': "error";
|
|
68
|
+
'@typescript-eslint/prefer-function-type': "error";
|
|
69
|
+
'@typescript-eslint/prefer-literal-enum-member': "error";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export default _default;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const ts_plugin_1 = tslib_1.__importDefault(require("../plugins/ts-plugin"));
|
|
5
|
+
exports.default = {
|
|
6
|
+
linterOptions: {
|
|
7
|
+
reportUnusedDisableDirectives: true,
|
|
8
|
+
},
|
|
9
|
+
name: 'skyux-eslint/ts-base',
|
|
10
|
+
plugins: {
|
|
11
|
+
'skyux-eslint': ts_plugin_1.default,
|
|
12
|
+
},
|
|
13
|
+
rules: {
|
|
14
|
+
curly: 'error',
|
|
15
|
+
'default-case': 'error',
|
|
16
|
+
'default-case-last': 'error',
|
|
17
|
+
eqeqeq: ['error', 'always'],
|
|
18
|
+
'guard-for-in': 'error',
|
|
19
|
+
'id-denylist': [
|
|
20
|
+
'error',
|
|
21
|
+
'any',
|
|
22
|
+
'boolean',
|
|
23
|
+
'Boolean',
|
|
24
|
+
'number',
|
|
25
|
+
'Number',
|
|
26
|
+
'object',
|
|
27
|
+
'Object',
|
|
28
|
+
'string',
|
|
29
|
+
'String',
|
|
30
|
+
'undefined',
|
|
31
|
+
'Undefined',
|
|
32
|
+
],
|
|
33
|
+
'no-alert': 'error',
|
|
34
|
+
'no-caller': 'error',
|
|
35
|
+
'no-console': 'error',
|
|
36
|
+
'no-constant-binary-expression': 'error',
|
|
37
|
+
'no-constructor-return': 'error',
|
|
38
|
+
'no-duplicate-imports': ['error', { includeExports: true }],
|
|
39
|
+
'no-eval': 'error',
|
|
40
|
+
'no-lonely-if': 'error',
|
|
41
|
+
'no-mixed-operators': 'error',
|
|
42
|
+
'no-new-wrappers': 'error',
|
|
43
|
+
'no-self-compare': 'error',
|
|
44
|
+
'no-template-curly-in-string': 'error',
|
|
45
|
+
'no-unmodified-loop-condition': 'error',
|
|
46
|
+
'no-unreachable-loop': 'error',
|
|
47
|
+
'no-unused-private-class-members': 'error',
|
|
48
|
+
'no-useless-return': 'error',
|
|
49
|
+
'prefer-arrow-callback': 'error',
|
|
50
|
+
'prefer-regex-literals': 'error',
|
|
51
|
+
radix: 'error',
|
|
52
|
+
'require-atomic-updates': 'error',
|
|
53
|
+
'@angular-eslint/no-lifecycle-call': 'error',
|
|
54
|
+
'@angular-eslint/sort-ngmodule-metadata-arrays': 'error',
|
|
55
|
+
'@typescript-eslint/array-type': 'error',
|
|
56
|
+
'@typescript-eslint/ban-tslint-comment': 'error',
|
|
57
|
+
'@typescript-eslint/consistent-generic-constructors': 'error',
|
|
58
|
+
'default-param-last': 'off',
|
|
59
|
+
'@typescript-eslint/default-param-last': 'error',
|
|
60
|
+
'@typescript-eslint/explicit-member-accessibility': [
|
|
61
|
+
'error',
|
|
62
|
+
{ overrides: { constructors: 'no-public' } },
|
|
63
|
+
],
|
|
64
|
+
'@typescript-eslint/explicit-module-boundary-types': 'error',
|
|
65
|
+
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
|
|
66
|
+
'@typescript-eslint/no-duplicate-enum-values': 'error',
|
|
67
|
+
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
|
68
|
+
'no-shadow': 'off',
|
|
69
|
+
'@typescript-eslint/no-shadow': 'error',
|
|
70
|
+
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
71
|
+
'no-unused-expressions': 'off',
|
|
72
|
+
'@typescript-eslint/no-unused-expressions': 'error',
|
|
73
|
+
'no-use-before-define': 'off',
|
|
74
|
+
'@typescript-eslint/no-use-before-define': [
|
|
75
|
+
'error',
|
|
76
|
+
{
|
|
77
|
+
functions: false,
|
|
78
|
+
classes: true,
|
|
79
|
+
variables: true,
|
|
80
|
+
allowNamedExports: false,
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
'@typescript-eslint/prefer-for-of': 'error',
|
|
84
|
+
'@typescript-eslint/prefer-function-type': 'error',
|
|
85
|
+
'@typescript-eslint/prefer-literal-enum-member': 'error',
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=ts-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-base.js","sourceRoot":"","sources":["../../../../../../libs/sdk/skyux-eslint/src/configs/ts-base.ts"],"names":[],"mappings":";;;AAEA,6EAA4C;AAE5C,kBAAe;IACb,aAAa,EAAE;QACb,6BAA6B,EAAE,IAAI;KACpC;IACD,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE;QACP,cAAc,EAAE,mBAAQ;KACzB;IACD,KAAK,EAAE;QACL,KAAK,EAAE,OAAO;QACd,cAAc,EAAE,OAAO;QACvB,mBAAmB,EAAE,OAAO;QAC5B,MAAM,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;QAC3B,cAAc,EAAE,OAAO;QACvB,aAAa,EAAE;YACb,OAAO;YACP,KAAK;YACL,SAAS;YACT,SAAS;YACT,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,QAAQ;YACR,WAAW;YACX,WAAW;SACZ;QACD,UAAU,EAAE,OAAO;QACnB,WAAW,EAAE,OAAO;QACpB,YAAY,EAAE,OAAO;QACrB,+BAA+B,EAAE,OAAO;QACxC,uBAAuB,EAAE,OAAO;QAChC,sBAAsB,EAAE,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC;QAC3D,SAAS,EAAE,OAAO;QAClB,cAAc,EAAE,OAAO;QACvB,oBAAoB,EAAE,OAAO;QAC7B,iBAAiB,EAAE,OAAO;QAC1B,iBAAiB,EAAE,OAAO;QAC1B,6BAA6B,EAAE,OAAO;QACtC,8BAA8B,EAAE,OAAO;QACvC,qBAAqB,EAAE,OAAO;QAC9B,iCAAiC,EAAE,OAAO;QAC1C,mBAAmB,EAAE,OAAO;QAC5B,uBAAuB,EAAE,OAAO;QAChC,uBAAuB,EAAE,OAAO;QAChC,KAAK,EAAE,OAAO;QACd,wBAAwB,EAAE,OAAO;QACjC,mCAAmC,EAAE,OAAO;QAC5C,+CAA+C,EAAE,OAAO;QACxD,+BAA+B,EAAE,OAAO;QACxC,uCAAuC,EAAE,OAAO;QAChD,oDAAoD,EAAE,OAAO;QAC7D,oBAAoB,EAAE,KAAK;QAC3B,uCAAuC,EAAE,OAAO;QAChD,kDAAkD,EAAE;YAClD,OAAO;YACP,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE;SAC7C;QACD,mDAAmD,EAAE,OAAO;QAC5D,oDAAoD,EAAE,OAAO;QAC7D,6CAA6C,EAAE,OAAO;QACtD,4DAA4D,EAAE,OAAO;QACrE,WAAW,EAAE,KAAK;QAClB,8BAA8B,EAAE,OAAO;QACvC,kDAAkD,EAAE,OAAO;QAC3D,uBAAuB,EAAE,KAAK;QAC9B,0CAA0C,EAAE,OAAO;QACnD,sBAAsB,EAAE,KAAK;QAC7B,yCAAyC,EAAE;YACzC,OAAO;YACP;gBACE,SAAS,EAAE,KAAK;gBAChB,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,iBAAiB,EAAE,KAAK;aACzB;SACF;QACD,kCAAkC,EAAE,OAAO;QAC3C,yCAAyC,EAAE,OAAO;QAClD,+CAA+C,EAAE,OAAO;KACzD;CACmC,CAAC"}
|