-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: remove deprecated
ban-props-on-host
, `enforce-ref-last-p…
…rop`, `require-event-emitter-type` rules (#10679) **Related Issue:** #10398 ## Summary Remove deprecated custom ESLint rules. BREAKING CHANGE: The following deprecated rules from `@esri/eslint-plugin-calcite-components` have been removed due to changes introduced in #10310: * `ban-props-on-host` * `enforce-ref-last-prop` * `require-event-emitter-type` Developers should either remain on the current version or remove these rules from their ESLint configuration to avoid potential issues.
- Loading branch information
Showing
16 changed files
with
4 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
packages/eslint-plugin-calcite-components/docs/enforce-ref-last-prop.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
packages/eslint-plugin-calcite-components/src/configs/recommended.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
export default { | ||
extends: ["plugin:@esri/calcite-components/base"], | ||
rules: { | ||
"@esri/calcite-components/ban-props-on-host": 2, | ||
"@esri/calcite-components/enforce-ref-last-prop": 2, | ||
"@esri/calcite-components/require-event-emitter-type": 2, | ||
"@esri/calcite-components/strict-boolean-attributes": 2, | ||
}, | ||
}; |
68 changes: 0 additions & 68 deletions
68
packages/eslint-plugin-calcite-components/src/rules/enforce-ref-last-prop.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
import banEvents from "./ban-events"; | ||
import banPropsOnHost from "./ban-props-on-host"; | ||
import enforceRefLastProp from "./enforce-ref-last-prop"; | ||
import noDynamicCreateelement from "./no-dynamic-createelement"; | ||
import requireEventEmitterType from "./require-event-emitter-type"; | ||
import strictBooleanAttributes from "./strict-boolean-attributes"; | ||
|
||
export default { | ||
"ban-events": banEvents, | ||
"ban-props-on-host": banPropsOnHost, | ||
"enforce-ref-last-prop": enforceRefLastProp, | ||
"no-dynamic-createelement": noDynamicCreateelement, | ||
"require-event-emitter-type": requireEventEmitterType, | ||
"strict-boolean-attributes": strictBooleanAttributes, | ||
}; |
18 changes: 0 additions & 18 deletions
18
...nt-plugin-calcite-components/tests/lib/rules/ban-props-on-host/ban-props-on-host.good.tsx
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...int-plugin-calcite-components/tests/lib/rules/ban-props-on-host/ban-props-on-host.spec.ts
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...t-plugin-calcite-components/tests/lib/rules/ban-props-on-host/ban-props-on-host.wrong.tsx
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...n-calcite-components/tests/lib/rules/enforce-ref-last-prop/enforce-ref-last-prop.good.tsx
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
...calcite-components/tests/lib/rules/enforce-ref-last-prop/enforce-ref-last-prop.output.tsx
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
...in-calcite-components/tests/lib/rules/enforce-ref-last-prop/enforce-ref-last-prop.spec.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.