Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19e68d3

Browse files
docs: update deprecated rules type definitions (#19018)
* docs: update depprecated rules type definitions* docs: apply suggestions from code reviewCo-authored-by: Francesco Trotta <github@fasttime.org>* docs: update depprecated rules type definitions---------Co-authored-by: Francesco Trotta <github@fasttime.org>
1 parent1def4cd commit19e68d3

File tree

4 files changed

+65
-0
lines changed

4 files changed

+65
-0
lines changed

‎lib/types/rules/best-practices.d.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ export interface BestPractices extends Linter.RulesRecord {
185185
* Rule to enforce consistent newlines before and after dots.
186186
*
187187
*@since 0.21.0
188+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/dot-location) in `@stylistic/eslint-plugin-js`.
188189
*@see https://eslint.org/docs/rules/dot-location
189190
*/
190191
"dot-location":Linter.RuleEntry<["object"|"property"]>;
@@ -429,6 +430,7 @@ export interface BestPractices extends Linter.RulesRecord {
429430
* Rule to disallow leading or trailing decimal points in numeric literals.
430431
*
431432
*@since 0.0.6
433+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-floating-decimal) in `@stylistic/eslint-plugin-js`.
432434
*@see https://eslint.org/docs/rules/no-floating-decimal
433435
*/
434436
"no-floating-decimal":Linter.RuleEntry<[]>;
@@ -605,6 +607,7 @@ export interface BestPractices extends Linter.RulesRecord {
605607
* Rule to disallow multiple spaces.
606608
*
607609
*@since 0.9.0
610+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-multi-spaces) in `@stylistic/eslint-plugin-js`.
608611
*@see https://eslint.org/docs/rules/no-multi-spaces
609612
*/
610613
"no-multi-spaces":Linter.RuleEntry<
@@ -1086,6 +1089,7 @@ export interface BestPractices extends Linter.RulesRecord {
10861089
* Rule to require parentheses around immediate `function` invocations.
10871090
*
10881091
*@since 0.0.9
1092+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/wrap-iife) in `@stylistic/eslint-plugin-js`.
10891093
*@see https://eslint.org/docs/rules/wrap-iife
10901094
*/
10911095
"wrap-iife":Linter.RuleEntry<

‎lib/types/rules/ecmascript-6.d.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
5252
* Rule to require parentheses around arrow function arguments.
5353
*
5454
*@since 1.0.0-rc-1
55+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/arrow-parens) in `@stylistic/eslint-plugin-js`.
5556
*@see https://eslint.org/docs/rules/arrow-parens
5657
*/
5758
"arrow-parens":
@@ -72,6 +73,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
7273
* Rule to enforce consistent spacing before and after the arrow in arrow functions.
7374
*
7475
*@since 1.0.0-rc-1
76+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/arrow-spacing) in `@stylistic/eslint-plugin-js`.
7577
*@see https://eslint.org/docs/rules/arrow-spacing
7678
*/
7779
"arrow-spacing":Linter.RuleEntry<[]>;
@@ -91,6 +93,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
9193
* Rule to enforce consistent spacing around `*` operators in generator functions.
9294
*
9395
*@since 0.17.0
96+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/generator-star-spacing) in `@stylistic/eslint-plugin-js`.
9497
*@see https://eslint.org/docs/rules/generator-star-spacing
9598
*/
9699
"generator-star-spacing":Linter.RuleEntry<
@@ -168,6 +171,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
168171
* Rule to disallow arrow functions where they could be confused with comparisons.
169172
*
170173
*@since 2.0.0-alpha-2
174+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-confusing-arrow) in `@stylistic/eslint-plugin-js`.
171175
*@see https://eslint.org/docs/rules/no-confusing-arrow
172176
*/
173177
"no-confusing-arrow":Linter.RuleEntry<
@@ -546,6 +550,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
546550
* Rule to enforce spacing between rest and spread operators and their expressions.
547551
*
548552
*@since 2.12.0
553+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/rest-spread-spacing) in `@stylistic/eslint-plugin-js`.
549554
*@see https://eslint.org/docs/rules/rest-spread-spacing
550555
*/
551556
"rest-spread-spacing":Linter.RuleEntry<["never"|"always"]>;
@@ -595,6 +600,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
595600
* Rule to require or disallow spacing around embedded expressions of template strings.
596601
*
597602
*@since 2.0.0-rc.0
603+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/template-curly-spacing) in `@stylistic/eslint-plugin-js`.
598604
*@see https://eslint.org/docs/rules/template-curly-spacing
599605
*/
600606
"template-curly-spacing":Linter.RuleEntry<["never"|"always"]>;
@@ -603,6 +609,7 @@ export interface ECMAScript6 extends Linter.RulesRecord {
603609
* Rule to require or disallow spacing around the `*` in `yield*` expressions.
604610
*
605611
*@since 2.0.0-alpha-1
612+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/yield-star-spacing) in `@stylistic/eslint-plugin-js`.
606613
*@see https://eslint.org/docs/rules/yield-star-spacing
607614
*/
608615
"yield-star-spacing":Linter.RuleEntry<

‎lib/types/rules/possible-errors.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ export interface PossibleErrors extends Linter.RulesRecord {
280280
* Rule to disallow unnecessary parentheses.
281281
*
282282
*@since 0.1.4
283+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-extra-parens) in `@stylistic/eslint-plugin-js`.
283284
*@see https://eslint.org/docs/rules/no-extra-parens
284285
*/
285286
"no-extra-parens":
@@ -319,6 +320,7 @@ export interface PossibleErrors extends Linter.RulesRecord {
319320
* Recommended by ESLint, the rule was enabled in `eslint:recommended`.
320321
*
321322
*@since 0.0.9
323+
*@deprecated since 8.53.0, please use the [corresponding rule](https://eslint.style/rules/js/no-extra-semi) in `@stylistic/eslint-plugin-js`.
322324
*@see https://eslint.org/docs/rules/no-extra-semi
323325
*/
324326
"no-extra-semi":Linter.RuleEntry<[]>;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp