@isentinel/eslint-config 0.6.0-beta.2 → 0.6.0-beta.4
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 +13 -1
- package/dist/index.cjs +109 -94
- package/dist/index.d.cts +10 -1306
- package/dist/index.d.ts +10 -1306
- package/dist/index.js +107 -95
- package/package.json +4 -5
package/dist/index.d.cts
CHANGED
|
@@ -3339,7 +3339,7 @@ interface RuleOptions {
|
|
|
3339
3339
|
'no-autofix/@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<NoAutofixTypescriptEslintNoUnusedExpressions>
|
|
3340
3340
|
/**
|
|
3341
3341
|
* Disallow unused variables
|
|
3342
|
-
* @see https://
|
|
3342
|
+
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
3343
3343
|
*/
|
|
3344
3344
|
'no-autofix/@typescript-eslint/no-unused-vars'?: Linter.RuleEntry<NoAutofixTypescriptEslintNoUnusedVars>
|
|
3345
3345
|
/**
|
|
@@ -3822,986 +3822,6 @@ interface RuleOptions {
|
|
|
3822
3822
|
* @see https://eslint.org/docs/latest/rules/eqeqeq
|
|
3823
3823
|
*/
|
|
3824
3824
|
'no-autofix/eqeqeq'?: Linter.RuleEntry<NoAutofixEqeqeq>
|
|
3825
|
-
/**
|
|
3826
|
-
* disallow accessor properties.
|
|
3827
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-accessor-properties.html
|
|
3828
|
-
*/
|
|
3829
|
-
'no-autofix/es-x/no-accessor-properties'?: Linter.RuleEntry<[]>
|
|
3830
|
-
/**
|
|
3831
|
-
* disallow arbitrary module namespace names.
|
|
3832
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-arbitrary-module-namespace-names.html
|
|
3833
|
-
*/
|
|
3834
|
-
'no-autofix/es-x/no-arbitrary-module-namespace-names'?: Linter.RuleEntry<[]>
|
|
3835
|
-
/**
|
|
3836
|
-
* disallow the `Array.from` method.
|
|
3837
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-from.html
|
|
3838
|
-
*/
|
|
3839
|
-
'no-autofix/es-x/no-array-from'?: Linter.RuleEntry<[]>
|
|
3840
|
-
/**
|
|
3841
|
-
* disallow the `Array.isArray` method.
|
|
3842
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-isarray.html
|
|
3843
|
-
*/
|
|
3844
|
-
'no-autofix/es-x/no-array-isarray'?: Linter.RuleEntry<[]>
|
|
3845
|
-
/**
|
|
3846
|
-
* disallow the `Array.of` method.
|
|
3847
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-of.html
|
|
3848
|
-
*/
|
|
3849
|
-
'no-autofix/es-x/no-array-of'?: Linter.RuleEntry<[]>
|
|
3850
|
-
/**
|
|
3851
|
-
* disallow the `Array.prototype.copyWithin` method.
|
|
3852
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-copywithin.html
|
|
3853
|
-
*/
|
|
3854
|
-
'no-autofix/es-x/no-array-prototype-copywithin'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeCopywithin>
|
|
3855
|
-
/**
|
|
3856
|
-
* disallow the `Array.prototype.entries` method.
|
|
3857
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-entries.html
|
|
3858
|
-
*/
|
|
3859
|
-
'no-autofix/es-x/no-array-prototype-entries'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeEntries>
|
|
3860
|
-
/**
|
|
3861
|
-
* disallow the `Array.prototype.every` method.
|
|
3862
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-every.html
|
|
3863
|
-
*/
|
|
3864
|
-
'no-autofix/es-x/no-array-prototype-every'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeEvery>
|
|
3865
|
-
/**
|
|
3866
|
-
* disallow the `Array.prototype.fill` method.
|
|
3867
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-fill.html
|
|
3868
|
-
*/
|
|
3869
|
-
'no-autofix/es-x/no-array-prototype-fill'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeFill>
|
|
3870
|
-
/**
|
|
3871
|
-
* disallow the `Array.prototype.filter` method.
|
|
3872
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-filter.html
|
|
3873
|
-
*/
|
|
3874
|
-
'no-autofix/es-x/no-array-prototype-filter'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeFilter>
|
|
3875
|
-
/**
|
|
3876
|
-
* disallow the `Array.prototype.find` method.
|
|
3877
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-find.html
|
|
3878
|
-
*/
|
|
3879
|
-
'no-autofix/es-x/no-array-prototype-find'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeFind>
|
|
3880
|
-
/**
|
|
3881
|
-
* disallow the `Array.prototype.findIndex` method.
|
|
3882
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-findindex.html
|
|
3883
|
-
*/
|
|
3884
|
-
'no-autofix/es-x/no-array-prototype-findindex'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeFindindex>
|
|
3885
|
-
/**
|
|
3886
|
-
* disallow the `Array.prototype.{findLast,findLastIndex}` methods.
|
|
3887
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-findlast-findlastindex.html
|
|
3888
|
-
*/
|
|
3889
|
-
'no-autofix/es-x/no-array-prototype-findlast-findlastindex'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeFindlastFindlastindex>
|
|
3890
|
-
/**
|
|
3891
|
-
* disallow the `Array.prototype.{flat,flatMap}` method.
|
|
3892
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-flat.html
|
|
3893
|
-
*/
|
|
3894
|
-
'no-autofix/es-x/no-array-prototype-flat'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeFlat>
|
|
3895
|
-
/**
|
|
3896
|
-
* disallow the `Array.prototype.forEach` method.
|
|
3897
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-foreach.html
|
|
3898
|
-
*/
|
|
3899
|
-
'no-autofix/es-x/no-array-prototype-foreach'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeForeach>
|
|
3900
|
-
/**
|
|
3901
|
-
* disallow the `Array.prototype.includes` method.
|
|
3902
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-includes.html
|
|
3903
|
-
*/
|
|
3904
|
-
'no-autofix/es-x/no-array-prototype-includes'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeIncludes>
|
|
3905
|
-
/**
|
|
3906
|
-
* disallow the `Array.prototype.indexOf` method.
|
|
3907
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-indexof.html
|
|
3908
|
-
*/
|
|
3909
|
-
'no-autofix/es-x/no-array-prototype-indexof'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeIndexof>
|
|
3910
|
-
/**
|
|
3911
|
-
* disallow the `Array.prototype.keys` method.
|
|
3912
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-keys.html
|
|
3913
|
-
*/
|
|
3914
|
-
'no-autofix/es-x/no-array-prototype-keys'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeKeys>
|
|
3915
|
-
/**
|
|
3916
|
-
* disallow the `Array.prototype.lastIndexOf` method.
|
|
3917
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-lastindexof.html
|
|
3918
|
-
*/
|
|
3919
|
-
'no-autofix/es-x/no-array-prototype-lastindexof'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeLastindexof>
|
|
3920
|
-
/**
|
|
3921
|
-
* disallow the `Array.prototype.map` method.
|
|
3922
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-map.html
|
|
3923
|
-
*/
|
|
3924
|
-
'no-autofix/es-x/no-array-prototype-map'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeMap>
|
|
3925
|
-
/**
|
|
3926
|
-
* disallow the `Array.prototype.reduce` method.
|
|
3927
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-reduce.html
|
|
3928
|
-
*/
|
|
3929
|
-
'no-autofix/es-x/no-array-prototype-reduce'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeReduce>
|
|
3930
|
-
/**
|
|
3931
|
-
* disallow the `Array.prototype.reduceRight` method.
|
|
3932
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-reduceright.html
|
|
3933
|
-
*/
|
|
3934
|
-
'no-autofix/es-x/no-array-prototype-reduceright'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeReduceright>
|
|
3935
|
-
/**
|
|
3936
|
-
* disallow the `Array.prototype.some` method.
|
|
3937
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-some.html
|
|
3938
|
-
*/
|
|
3939
|
-
'no-autofix/es-x/no-array-prototype-some'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeSome>
|
|
3940
|
-
/**
|
|
3941
|
-
* disallow the `Array.prototype.toReversed` method.
|
|
3942
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-toreversed.html
|
|
3943
|
-
*/
|
|
3944
|
-
'no-autofix/es-x/no-array-prototype-toreversed'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeToreversed>
|
|
3945
|
-
/**
|
|
3946
|
-
* disallow the `Array.prototype.toSorted` method.
|
|
3947
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-tosorted.html
|
|
3948
|
-
*/
|
|
3949
|
-
'no-autofix/es-x/no-array-prototype-tosorted'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeTosorted>
|
|
3950
|
-
/**
|
|
3951
|
-
* disallow the `Array.prototype.toSpliced` method.
|
|
3952
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-tospliced.html
|
|
3953
|
-
*/
|
|
3954
|
-
'no-autofix/es-x/no-array-prototype-tospliced'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeTospliced>
|
|
3955
|
-
/**
|
|
3956
|
-
* disallow the `Array.prototype.values` method.
|
|
3957
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-values.html
|
|
3958
|
-
*/
|
|
3959
|
-
'no-autofix/es-x/no-array-prototype-values'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeValues>
|
|
3960
|
-
/**
|
|
3961
|
-
* disallow the `Array.prototype.with` method.
|
|
3962
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-with.html
|
|
3963
|
-
*/
|
|
3964
|
-
'no-autofix/es-x/no-array-prototype-with'?: Linter.RuleEntry<NoAutofixEsXNoArrayPrototypeWith>
|
|
3965
|
-
/**
|
|
3966
|
-
* disallow the `{Array,String}.prototype.at()` methods.
|
|
3967
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-string-prototype-at.html
|
|
3968
|
-
*/
|
|
3969
|
-
'no-autofix/es-x/no-array-string-prototype-at'?: Linter.RuleEntry<NoAutofixEsXNoArrayStringPrototypeAt>
|
|
3970
|
-
/**
|
|
3971
|
-
* disallow arrow function expressions.
|
|
3972
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-arrow-functions.html
|
|
3973
|
-
*/
|
|
3974
|
-
'no-autofix/es-x/no-arrow-functions'?: Linter.RuleEntry<[]>
|
|
3975
|
-
/**
|
|
3976
|
-
* disallow async function declarations.
|
|
3977
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-async-functions.html
|
|
3978
|
-
*/
|
|
3979
|
-
'no-autofix/es-x/no-async-functions'?: Linter.RuleEntry<[]>
|
|
3980
|
-
/**
|
|
3981
|
-
* disallow async iteration.
|
|
3982
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-async-iteration.html
|
|
3983
|
-
*/
|
|
3984
|
-
'no-autofix/es-x/no-async-iteration'?: Linter.RuleEntry<[]>
|
|
3985
|
-
/**
|
|
3986
|
-
* disallow the `Atomics` class.
|
|
3987
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-atomics.html
|
|
3988
|
-
*/
|
|
3989
|
-
'no-autofix/es-x/no-atomics'?: Linter.RuleEntry<[]>
|
|
3990
|
-
/**
|
|
3991
|
-
* disallow the `Atomics.waitAsync` method.
|
|
3992
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-atomics-waitasync.html
|
|
3993
|
-
*/
|
|
3994
|
-
'no-autofix/es-x/no-atomics-waitasync'?: Linter.RuleEntry<[]>
|
|
3995
|
-
/**
|
|
3996
|
-
* disallow `bigint` syntax and built-ins
|
|
3997
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-bigint.html
|
|
3998
|
-
*/
|
|
3999
|
-
'no-autofix/es-x/no-bigint'?: Linter.RuleEntry<[]>
|
|
4000
|
-
/**
|
|
4001
|
-
* disallow binary numeric literals.
|
|
4002
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-binary-numeric-literals.html
|
|
4003
|
-
*/
|
|
4004
|
-
'no-autofix/es-x/no-binary-numeric-literals'?: Linter.RuleEntry<[]>
|
|
4005
|
-
/**
|
|
4006
|
-
* disallow block-scoped function declarations.
|
|
4007
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-block-scoped-functions.html
|
|
4008
|
-
*/
|
|
4009
|
-
'no-autofix/es-x/no-block-scoped-functions'?: Linter.RuleEntry<[]>
|
|
4010
|
-
/**
|
|
4011
|
-
* disallow block-scoped variable declarations.
|
|
4012
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-block-scoped-variables.html
|
|
4013
|
-
*/
|
|
4014
|
-
'no-autofix/es-x/no-block-scoped-variables'?: Linter.RuleEntry<[]>
|
|
4015
|
-
/**
|
|
4016
|
-
* disallow class fields.
|
|
4017
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-class-fields.html
|
|
4018
|
-
*/
|
|
4019
|
-
'no-autofix/es-x/no-class-fields'?: Linter.RuleEntry<[]>
|
|
4020
|
-
/**
|
|
4021
|
-
* disallow class static block.
|
|
4022
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-class-static-block.html
|
|
4023
|
-
*/
|
|
4024
|
-
'no-autofix/es-x/no-class-static-block'?: Linter.RuleEntry<[]>
|
|
4025
|
-
/**
|
|
4026
|
-
* disallow class declarations.
|
|
4027
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-classes.html
|
|
4028
|
-
*/
|
|
4029
|
-
'no-autofix/es-x/no-classes'?: Linter.RuleEntry<[]>
|
|
4030
|
-
/**
|
|
4031
|
-
* disallow computed properties.
|
|
4032
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-computed-properties.html
|
|
4033
|
-
*/
|
|
4034
|
-
'no-autofix/es-x/no-computed-properties'?: Linter.RuleEntry<[]>
|
|
4035
|
-
/**
|
|
4036
|
-
* disallow the `Date.now` method.
|
|
4037
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-date-now.html
|
|
4038
|
-
*/
|
|
4039
|
-
'no-autofix/es-x/no-date-now'?: Linter.RuleEntry<[]>
|
|
4040
|
-
/**
|
|
4041
|
-
* disallow the `Date.prototype.{getYear,setYear}` methods.
|
|
4042
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-date-prototype-getyear-setyear.html
|
|
4043
|
-
*/
|
|
4044
|
-
'no-autofix/es-x/no-date-prototype-getyear-setyear'?: Linter.RuleEntry<NoAutofixEsXNoDatePrototypeGetyearSetyear>
|
|
4045
|
-
/**
|
|
4046
|
-
* disallow the `Date.prototype.toGMTString` method.
|
|
4047
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-date-prototype-togmtstring.html
|
|
4048
|
-
*/
|
|
4049
|
-
'no-autofix/es-x/no-date-prototype-togmtstring'?: Linter.RuleEntry<NoAutofixEsXNoDatePrototypeTogmtstring>
|
|
4050
|
-
/**
|
|
4051
|
-
* disallow default parameters.
|
|
4052
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-default-parameters.html
|
|
4053
|
-
*/
|
|
4054
|
-
'no-autofix/es-x/no-default-parameters'?: Linter.RuleEntry<[]>
|
|
4055
|
-
/**
|
|
4056
|
-
* disallow destructuring.
|
|
4057
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-destructuring.html
|
|
4058
|
-
*/
|
|
4059
|
-
'no-autofix/es-x/no-destructuring'?: Linter.RuleEntry<[]>
|
|
4060
|
-
/**
|
|
4061
|
-
* disallow `import()` syntax
|
|
4062
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-dynamic-import.html
|
|
4063
|
-
*/
|
|
4064
|
-
'no-autofix/es-x/no-dynamic-import'?: Linter.RuleEntry<[]>
|
|
4065
|
-
/**
|
|
4066
|
-
* disallow Error Cause.
|
|
4067
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-error-cause.html
|
|
4068
|
-
*/
|
|
4069
|
-
'no-autofix/es-x/no-error-cause'?: Linter.RuleEntry<[]>
|
|
4070
|
-
/**
|
|
4071
|
-
* disallow `escape` and `unescape`
|
|
4072
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-escape-unescape.html
|
|
4073
|
-
*/
|
|
4074
|
-
'no-autofix/es-x/no-escape-unescape'?: Linter.RuleEntry<[]>
|
|
4075
|
-
/**
|
|
4076
|
-
* disallow exponential operators.
|
|
4077
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-exponential-operators.html
|
|
4078
|
-
*/
|
|
4079
|
-
'no-autofix/es-x/no-exponential-operators'?: Linter.RuleEntry<[]>
|
|
4080
|
-
/**
|
|
4081
|
-
* disallow `export * as ns`.
|
|
4082
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-export-ns-from.html
|
|
4083
|
-
*/
|
|
4084
|
-
'no-autofix/es-x/no-export-ns-from'?: Linter.RuleEntry<[]>
|
|
4085
|
-
/**
|
|
4086
|
-
* disallow `for-of` statements.
|
|
4087
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-for-of-loops.html
|
|
4088
|
-
*/
|
|
4089
|
-
'no-autofix/es-x/no-for-of-loops'?: Linter.RuleEntry<[]>
|
|
4090
|
-
/**
|
|
4091
|
-
* disallow function declarations in if statement clauses without using blocks.
|
|
4092
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-function-declarations-in-if-statement-clauses-without-block.html
|
|
4093
|
-
*/
|
|
4094
|
-
'no-autofix/es-x/no-function-declarations-in-if-statement-clauses-without-block'?: Linter.RuleEntry<[]>
|
|
4095
|
-
/**
|
|
4096
|
-
* disallow the `Function.prototype.bind` method.
|
|
4097
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-function-prototype-bind.html
|
|
4098
|
-
*/
|
|
4099
|
-
'no-autofix/es-x/no-function-prototype-bind'?: Linter.RuleEntry<NoAutofixEsXNoFunctionPrototypeBind>
|
|
4100
|
-
/**
|
|
4101
|
-
* disallow generator function declarations.
|
|
4102
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-generators.html
|
|
4103
|
-
*/
|
|
4104
|
-
'no-autofix/es-x/no-generators'?: Linter.RuleEntry<[]>
|
|
4105
|
-
/**
|
|
4106
|
-
* disallow the `globalThis` variable
|
|
4107
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-global-this.html
|
|
4108
|
-
*/
|
|
4109
|
-
'no-autofix/es-x/no-global-this'?: Linter.RuleEntry<[]>
|
|
4110
|
-
/**
|
|
4111
|
-
* disallow Hashbang comments.
|
|
4112
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-hashbang.html
|
|
4113
|
-
*/
|
|
4114
|
-
'no-autofix/es-x/no-hashbang'?: Linter.RuleEntry<[]>
|
|
4115
|
-
/**
|
|
4116
|
-
* disallow `import.meta` meta property.
|
|
4117
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-import-meta.html
|
|
4118
|
-
*/
|
|
4119
|
-
'no-autofix/es-x/no-import-meta'?: Linter.RuleEntry<[]>
|
|
4120
|
-
/**
|
|
4121
|
-
* disallow initializers in for-in heads.
|
|
4122
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-initializers-in-for-in.html
|
|
4123
|
-
*/
|
|
4124
|
-
'no-autofix/es-x/no-initializers-in-for-in'?: Linter.RuleEntry<[]>
|
|
4125
|
-
/**
|
|
4126
|
-
* disallow the `Intl.DateTimeFormat.prototype.formatRange` method.
|
|
4127
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-datetimeformat-prototype-formatrange.html
|
|
4128
|
-
*/
|
|
4129
|
-
'no-autofix/es-x/no-intl-datetimeformat-prototype-formatrange'?: Linter.RuleEntry<NoAutofixEsXNoIntlDatetimeformatPrototypeFormatrange>
|
|
4130
|
-
/**
|
|
4131
|
-
* disallow the `DateTimeFormat.prototype.formatToParts` method.
|
|
4132
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-datetimeformat-prototype-formattoparts.html
|
|
4133
|
-
*/
|
|
4134
|
-
'no-autofix/es-x/no-intl-datetimeformat-prototype-formattoparts'?: Linter.RuleEntry<NoAutofixEsXNoIntlDatetimeformatPrototypeFormattoparts>
|
|
4135
|
-
/**
|
|
4136
|
-
* disallow the `Intl.DisplayNames` object.
|
|
4137
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-displaynames.html
|
|
4138
|
-
*/
|
|
4139
|
-
'no-autofix/es-x/no-intl-displaynames'?: Linter.RuleEntry<[]>
|
|
4140
|
-
/**
|
|
4141
|
-
* disallow the `Intl.getCanonicalLocales` method.
|
|
4142
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-getcanonicallocales.html
|
|
4143
|
-
*/
|
|
4144
|
-
'no-autofix/es-x/no-intl-getcanonicallocales'?: Linter.RuleEntry<[]>
|
|
4145
|
-
/**
|
|
4146
|
-
* disallow the `Intl.ListFormat` object.
|
|
4147
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-listformat.html
|
|
4148
|
-
*/
|
|
4149
|
-
'no-autofix/es-x/no-intl-listformat'?: Linter.RuleEntry<[]>
|
|
4150
|
-
/**
|
|
4151
|
-
* disallow the `Intl.Locale` object.
|
|
4152
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-locale.html
|
|
4153
|
-
*/
|
|
4154
|
-
'no-autofix/es-x/no-intl-locale'?: Linter.RuleEntry<[]>
|
|
4155
|
-
/**
|
|
4156
|
-
* disallow the `NumberFormat.prototype.formatRange` method.
|
|
4157
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-numberformat-prototype-formatrange.html
|
|
4158
|
-
*/
|
|
4159
|
-
'no-autofix/es-x/no-intl-numberformat-prototype-formatrange'?: Linter.RuleEntry<NoAutofixEsXNoIntlNumberformatPrototypeFormatrange>
|
|
4160
|
-
/**
|
|
4161
|
-
* disallow the `NumberFormat.prototype.formatRangeToParts` method.
|
|
4162
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-numberformat-prototype-formatrangetoparts.html
|
|
4163
|
-
*/
|
|
4164
|
-
'no-autofix/es-x/no-intl-numberformat-prototype-formatrangetoparts'?: Linter.RuleEntry<NoAutofixEsXNoIntlNumberformatPrototypeFormatrangetoparts>
|
|
4165
|
-
/**
|
|
4166
|
-
* disallow the `NumberFormat.prototype.formatToParts` method.
|
|
4167
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-numberformat-prototype-formattoparts.html
|
|
4168
|
-
*/
|
|
4169
|
-
'no-autofix/es-x/no-intl-numberformat-prototype-formattoparts'?: Linter.RuleEntry<NoAutofixEsXNoIntlNumberformatPrototypeFormattoparts>
|
|
4170
|
-
/**
|
|
4171
|
-
* disallow the `Intl.PluralRules` object.
|
|
4172
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-pluralrules.html
|
|
4173
|
-
*/
|
|
4174
|
-
'no-autofix/es-x/no-intl-pluralrules'?: Linter.RuleEntry<[]>
|
|
4175
|
-
/**
|
|
4176
|
-
* disallow the `PluralRules.prototype.selectRange` method.
|
|
4177
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-pluralrules-prototype-selectrange.html
|
|
4178
|
-
*/
|
|
4179
|
-
'no-autofix/es-x/no-intl-pluralrules-prototype-selectrange'?: Linter.RuleEntry<NoAutofixEsXNoIntlPluralrulesPrototypeSelectrange>
|
|
4180
|
-
/**
|
|
4181
|
-
* disallow the `Intl.RelativeTimeFormat` object.
|
|
4182
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-relativetimeformat.html
|
|
4183
|
-
*/
|
|
4184
|
-
'no-autofix/es-x/no-intl-relativetimeformat'?: Linter.RuleEntry<[]>
|
|
4185
|
-
/**
|
|
4186
|
-
* disallow the `Intl.Segmenter` object.
|
|
4187
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-segmenter.html
|
|
4188
|
-
*/
|
|
4189
|
-
'no-autofix/es-x/no-intl-segmenter'?: Linter.RuleEntry<[]>
|
|
4190
|
-
/**
|
|
4191
|
-
* disallow the `Intl.supportedValuesOf` method.
|
|
4192
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-intl-supportedvaluesof.html
|
|
4193
|
-
*/
|
|
4194
|
-
'no-autofix/es-x/no-intl-supportedvaluesof'?: Linter.RuleEntry<[]>
|
|
4195
|
-
/**
|
|
4196
|
-
* disallow the `JSON` class.
|
|
4197
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-json.html
|
|
4198
|
-
*/
|
|
4199
|
-
'no-autofix/es-x/no-json'?: Linter.RuleEntry<[]>
|
|
4200
|
-
/**
|
|
4201
|
-
* disallow `\u2028` and `\u2029` in string literals.
|
|
4202
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-json-superset.html
|
|
4203
|
-
*/
|
|
4204
|
-
'no-autofix/es-x/no-json-superset'?: Linter.RuleEntry<[]>
|
|
4205
|
-
/**
|
|
4206
|
-
* disallow reserved words as property names.
|
|
4207
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-keyword-properties.html
|
|
4208
|
-
*/
|
|
4209
|
-
'no-autofix/es-x/no-keyword-properties'?: Linter.RuleEntry<[]>
|
|
4210
|
-
/**
|
|
4211
|
-
* disallow labelled function declarations.
|
|
4212
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-labelled-function-declarations.html
|
|
4213
|
-
*/
|
|
4214
|
-
'no-autofix/es-x/no-labelled-function-declarations'?: Linter.RuleEntry<[]>
|
|
4215
|
-
/**
|
|
4216
|
-
* disallow legacy `Object.prototype` accessor methods.
|
|
4217
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-legacy-object-prototype-accessor-methods.html
|
|
4218
|
-
*/
|
|
4219
|
-
'no-autofix/es-x/no-legacy-object-prototype-accessor-methods'?: Linter.RuleEntry<[]>
|
|
4220
|
-
/**
|
|
4221
|
-
* disallow logical assignment operators.
|
|
4222
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-logical-assignment-operators.html
|
|
4223
|
-
*/
|
|
4224
|
-
'no-autofix/es-x/no-logical-assignment-operators'?: Linter.RuleEntry<[]>
|
|
4225
|
-
/**
|
|
4226
|
-
* disallow template literals with invalid escape sequences.
|
|
4227
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-malformed-template-literals.html
|
|
4228
|
-
*/
|
|
4229
|
-
'no-autofix/es-x/no-malformed-template-literals'?: Linter.RuleEntry<[]>
|
|
4230
|
-
/**
|
|
4231
|
-
* disallow the `Map` class.
|
|
4232
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-map.html
|
|
4233
|
-
*/
|
|
4234
|
-
'no-autofix/es-x/no-map'?: Linter.RuleEntry<[]>
|
|
4235
|
-
/**
|
|
4236
|
-
* disallow the `Math.acosh` method.
|
|
4237
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-acosh.html
|
|
4238
|
-
*/
|
|
4239
|
-
'no-autofix/es-x/no-math-acosh'?: Linter.RuleEntry<[]>
|
|
4240
|
-
/**
|
|
4241
|
-
* disallow the `Math.asinh` method.
|
|
4242
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-asinh.html
|
|
4243
|
-
*/
|
|
4244
|
-
'no-autofix/es-x/no-math-asinh'?: Linter.RuleEntry<[]>
|
|
4245
|
-
/**
|
|
4246
|
-
* disallow the `Math.atanh` method.
|
|
4247
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-atanh.html
|
|
4248
|
-
*/
|
|
4249
|
-
'no-autofix/es-x/no-math-atanh'?: Linter.RuleEntry<[]>
|
|
4250
|
-
/**
|
|
4251
|
-
* disallow the `Math.cbrt` method.
|
|
4252
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-cbrt.html
|
|
4253
|
-
*/
|
|
4254
|
-
'no-autofix/es-x/no-math-cbrt'?: Linter.RuleEntry<[]>
|
|
4255
|
-
/**
|
|
4256
|
-
* disallow the `Math.clz32` method.
|
|
4257
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-clz32.html
|
|
4258
|
-
*/
|
|
4259
|
-
'no-autofix/es-x/no-math-clz32'?: Linter.RuleEntry<[]>
|
|
4260
|
-
/**
|
|
4261
|
-
* disallow the `Math.cosh` method.
|
|
4262
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-cosh.html
|
|
4263
|
-
*/
|
|
4264
|
-
'no-autofix/es-x/no-math-cosh'?: Linter.RuleEntry<[]>
|
|
4265
|
-
/**
|
|
4266
|
-
* disallow the `Math.expm1` method.
|
|
4267
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-expm1.html
|
|
4268
|
-
*/
|
|
4269
|
-
'no-autofix/es-x/no-math-expm1'?: Linter.RuleEntry<[]>
|
|
4270
|
-
/**
|
|
4271
|
-
* disallow the `Math.fround` method.
|
|
4272
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-fround.html
|
|
4273
|
-
*/
|
|
4274
|
-
'no-autofix/es-x/no-math-fround'?: Linter.RuleEntry<[]>
|
|
4275
|
-
/**
|
|
4276
|
-
* disallow the `Math.hypot` method.
|
|
4277
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-hypot.html
|
|
4278
|
-
*/
|
|
4279
|
-
'no-autofix/es-x/no-math-hypot'?: Linter.RuleEntry<[]>
|
|
4280
|
-
/**
|
|
4281
|
-
* disallow the `Math.imul` method.
|
|
4282
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-imul.html
|
|
4283
|
-
*/
|
|
4284
|
-
'no-autofix/es-x/no-math-imul'?: Linter.RuleEntry<[]>
|
|
4285
|
-
/**
|
|
4286
|
-
* disallow the `Math.log10` method.
|
|
4287
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-log10.html
|
|
4288
|
-
*/
|
|
4289
|
-
'no-autofix/es-x/no-math-log10'?: Linter.RuleEntry<[]>
|
|
4290
|
-
/**
|
|
4291
|
-
* disallow the `Math.log1p` method.
|
|
4292
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-log1p.html
|
|
4293
|
-
*/
|
|
4294
|
-
'no-autofix/es-x/no-math-log1p'?: Linter.RuleEntry<[]>
|
|
4295
|
-
/**
|
|
4296
|
-
* disallow the `Math.log2` method.
|
|
4297
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-log2.html
|
|
4298
|
-
*/
|
|
4299
|
-
'no-autofix/es-x/no-math-log2'?: Linter.RuleEntry<[]>
|
|
4300
|
-
/**
|
|
4301
|
-
* disallow the `Math.sign` method.
|
|
4302
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-sign.html
|
|
4303
|
-
*/
|
|
4304
|
-
'no-autofix/es-x/no-math-sign'?: Linter.RuleEntry<[]>
|
|
4305
|
-
/**
|
|
4306
|
-
* disallow the `Math.sinh` method.
|
|
4307
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-sinh.html
|
|
4308
|
-
*/
|
|
4309
|
-
'no-autofix/es-x/no-math-sinh'?: Linter.RuleEntry<[]>
|
|
4310
|
-
/**
|
|
4311
|
-
* disallow the `Math.tanh` method.
|
|
4312
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-tanh.html
|
|
4313
|
-
*/
|
|
4314
|
-
'no-autofix/es-x/no-math-tanh'?: Linter.RuleEntry<[]>
|
|
4315
|
-
/**
|
|
4316
|
-
* disallow the `Math.trunc` method.
|
|
4317
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-math-trunc.html
|
|
4318
|
-
*/
|
|
4319
|
-
'no-autofix/es-x/no-math-trunc'?: Linter.RuleEntry<[]>
|
|
4320
|
-
/**
|
|
4321
|
-
* disallow modules.
|
|
4322
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-modules.html
|
|
4323
|
-
*/
|
|
4324
|
-
'no-autofix/es-x/no-modules'?: Linter.RuleEntry<[]>
|
|
4325
|
-
/**
|
|
4326
|
-
* disallow `new.target` meta property.
|
|
4327
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-new-target.html
|
|
4328
|
-
*/
|
|
4329
|
-
'no-autofix/es-x/no-new-target'?: Linter.RuleEntry<[]>
|
|
4330
|
-
/**
|
|
4331
|
-
* disallow nullish coalescing operators.
|
|
4332
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-nullish-coalescing-operators.html
|
|
4333
|
-
*/
|
|
4334
|
-
'no-autofix/es-x/no-nullish-coalescing-operators'?: Linter.RuleEntry<[]>
|
|
4335
|
-
/**
|
|
4336
|
-
* disallow the `Number.EPSILON` property.
|
|
4337
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-epsilon.html
|
|
4338
|
-
*/
|
|
4339
|
-
'no-autofix/es-x/no-number-epsilon'?: Linter.RuleEntry<[]>
|
|
4340
|
-
/**
|
|
4341
|
-
* disallow the `Number.isFinite` method.
|
|
4342
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-isfinite.html
|
|
4343
|
-
*/
|
|
4344
|
-
'no-autofix/es-x/no-number-isfinite'?: Linter.RuleEntry<[]>
|
|
4345
|
-
/**
|
|
4346
|
-
* disallow the `Number.isInteger` method.
|
|
4347
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-isinteger.html
|
|
4348
|
-
*/
|
|
4349
|
-
'no-autofix/es-x/no-number-isinteger'?: Linter.RuleEntry<[]>
|
|
4350
|
-
/**
|
|
4351
|
-
* disallow the `Number.isNaN` method.
|
|
4352
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-isnan.html
|
|
4353
|
-
*/
|
|
4354
|
-
'no-autofix/es-x/no-number-isnan'?: Linter.RuleEntry<[]>
|
|
4355
|
-
/**
|
|
4356
|
-
* disallow the `Number.isSafeInteger` method.
|
|
4357
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-issafeinteger.html
|
|
4358
|
-
*/
|
|
4359
|
-
'no-autofix/es-x/no-number-issafeinteger'?: Linter.RuleEntry<[]>
|
|
4360
|
-
/**
|
|
4361
|
-
* disallow the `Number.MAX_SAFE_INTEGER` property.
|
|
4362
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-maxsafeinteger.html
|
|
4363
|
-
*/
|
|
4364
|
-
'no-autofix/es-x/no-number-maxsafeinteger'?: Linter.RuleEntry<[]>
|
|
4365
|
-
/**
|
|
4366
|
-
* disallow the `Number.MIN_SAFE_INTEGER` property.
|
|
4367
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-minsafeinteger.html
|
|
4368
|
-
*/
|
|
4369
|
-
'no-autofix/es-x/no-number-minsafeinteger'?: Linter.RuleEntry<[]>
|
|
4370
|
-
/**
|
|
4371
|
-
* disallow the `Number.parseFloat` method.
|
|
4372
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-parsefloat.html
|
|
4373
|
-
*/
|
|
4374
|
-
'no-autofix/es-x/no-number-parsefloat'?: Linter.RuleEntry<[]>
|
|
4375
|
-
/**
|
|
4376
|
-
* disallow the `Number.parseInt` method.
|
|
4377
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-number-parseint.html
|
|
4378
|
-
*/
|
|
4379
|
-
'no-autofix/es-x/no-number-parseint'?: Linter.RuleEntry<[]>
|
|
4380
|
-
/**
|
|
4381
|
-
* disallow numeric separators.
|
|
4382
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-numeric-separators.html
|
|
4383
|
-
*/
|
|
4384
|
-
'no-autofix/es-x/no-numeric-separators'?: Linter.RuleEntry<[]>
|
|
4385
|
-
/**
|
|
4386
|
-
* disallow the `Object.assign` method.
|
|
4387
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-assign.html
|
|
4388
|
-
*/
|
|
4389
|
-
'no-autofix/es-x/no-object-assign'?: Linter.RuleEntry<[]>
|
|
4390
|
-
/**
|
|
4391
|
-
* disallow the `Object.create` method.
|
|
4392
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-create.html
|
|
4393
|
-
*/
|
|
4394
|
-
'no-autofix/es-x/no-object-create'?: Linter.RuleEntry<[]>
|
|
4395
|
-
/**
|
|
4396
|
-
* disallow the `Object.defineProperties` method.
|
|
4397
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-defineproperties.html
|
|
4398
|
-
*/
|
|
4399
|
-
'no-autofix/es-x/no-object-defineproperties'?: Linter.RuleEntry<[]>
|
|
4400
|
-
/**
|
|
4401
|
-
* disallow the `Object.defineProperty` method.
|
|
4402
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-defineproperty.html
|
|
4403
|
-
*/
|
|
4404
|
-
'no-autofix/es-x/no-object-defineproperty'?: Linter.RuleEntry<[]>
|
|
4405
|
-
/**
|
|
4406
|
-
* disallow the `Object.entries` method.
|
|
4407
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-entries.html
|
|
4408
|
-
*/
|
|
4409
|
-
'no-autofix/es-x/no-object-entries'?: Linter.RuleEntry<[]>
|
|
4410
|
-
/**
|
|
4411
|
-
* disallow the `Object.freeze` method.
|
|
4412
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-freeze.html
|
|
4413
|
-
*/
|
|
4414
|
-
'no-autofix/es-x/no-object-freeze'?: Linter.RuleEntry<[]>
|
|
4415
|
-
/**
|
|
4416
|
-
* disallow the `Object.fromEntries` method.
|
|
4417
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-fromentries.html
|
|
4418
|
-
*/
|
|
4419
|
-
'no-autofix/es-x/no-object-fromentries'?: Linter.RuleEntry<[]>
|
|
4420
|
-
/**
|
|
4421
|
-
* disallow the `Object.getOwnPropertyDescriptor` method.
|
|
4422
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertydescriptor.html
|
|
4423
|
-
*/
|
|
4424
|
-
'no-autofix/es-x/no-object-getownpropertydescriptor'?: Linter.RuleEntry<[]>
|
|
4425
|
-
/**
|
|
4426
|
-
* disallow the `Object.getOwnPropertyDescriptors` method.
|
|
4427
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertydescriptors.html
|
|
4428
|
-
*/
|
|
4429
|
-
'no-autofix/es-x/no-object-getownpropertydescriptors'?: Linter.RuleEntry<[]>
|
|
4430
|
-
/**
|
|
4431
|
-
* disallow the `Object.getOwnPropertyNames` method.
|
|
4432
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertynames.html
|
|
4433
|
-
*/
|
|
4434
|
-
'no-autofix/es-x/no-object-getownpropertynames'?: Linter.RuleEntry<[]>
|
|
4435
|
-
/**
|
|
4436
|
-
* disallow the `Object.getOwnPropertySymbols` method.
|
|
4437
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getownpropertysymbols.html
|
|
4438
|
-
*/
|
|
4439
|
-
'no-autofix/es-x/no-object-getownpropertysymbols'?: Linter.RuleEntry<[]>
|
|
4440
|
-
/**
|
|
4441
|
-
* disallow the `Object.getPrototypeOf` method.
|
|
4442
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-getprototypeof.html
|
|
4443
|
-
*/
|
|
4444
|
-
'no-autofix/es-x/no-object-getprototypeof'?: Linter.RuleEntry<[]>
|
|
4445
|
-
/**
|
|
4446
|
-
* disallow the `Object.hasOwn` method.
|
|
4447
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-hasown.html
|
|
4448
|
-
*/
|
|
4449
|
-
'no-autofix/es-x/no-object-hasown'?: Linter.RuleEntry<[]>
|
|
4450
|
-
/**
|
|
4451
|
-
* disallow the `Object.is` method.
|
|
4452
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-is.html
|
|
4453
|
-
*/
|
|
4454
|
-
'no-autofix/es-x/no-object-is'?: Linter.RuleEntry<[]>
|
|
4455
|
-
/**
|
|
4456
|
-
* disallow the `Object.isExtensible` method.
|
|
4457
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-isextensible.html
|
|
4458
|
-
*/
|
|
4459
|
-
'no-autofix/es-x/no-object-isextensible'?: Linter.RuleEntry<[]>
|
|
4460
|
-
/**
|
|
4461
|
-
* disallow the `Object.isFrozen` method.
|
|
4462
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-isfrozen.html
|
|
4463
|
-
*/
|
|
4464
|
-
'no-autofix/es-x/no-object-isfrozen'?: Linter.RuleEntry<[]>
|
|
4465
|
-
/**
|
|
4466
|
-
* disallow the `Object.isSealed` method.
|
|
4467
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-issealed.html
|
|
4468
|
-
*/
|
|
4469
|
-
'no-autofix/es-x/no-object-issealed'?: Linter.RuleEntry<[]>
|
|
4470
|
-
/**
|
|
4471
|
-
* disallow the `Object.keys` method.
|
|
4472
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-keys.html
|
|
4473
|
-
*/
|
|
4474
|
-
'no-autofix/es-x/no-object-keys'?: Linter.RuleEntry<[]>
|
|
4475
|
-
/**
|
|
4476
|
-
* disallow the `Object.preventExtensions` method.
|
|
4477
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-preventextensions.html
|
|
4478
|
-
*/
|
|
4479
|
-
'no-autofix/es-x/no-object-preventextensions'?: Linter.RuleEntry<[]>
|
|
4480
|
-
/**
|
|
4481
|
-
* disallow the `Object.seal` method.
|
|
4482
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-seal.html
|
|
4483
|
-
*/
|
|
4484
|
-
'no-autofix/es-x/no-object-seal'?: Linter.RuleEntry<[]>
|
|
4485
|
-
/**
|
|
4486
|
-
* disallow the `Object.setPrototypeOf` method.
|
|
4487
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-setprototypeof.html
|
|
4488
|
-
*/
|
|
4489
|
-
'no-autofix/es-x/no-object-setprototypeof'?: Linter.RuleEntry<[]>
|
|
4490
|
-
/**
|
|
4491
|
-
* disallow `super` property accesses in object literals.
|
|
4492
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-super-properties.html
|
|
4493
|
-
*/
|
|
4494
|
-
'no-autofix/es-x/no-object-super-properties'?: Linter.RuleEntry<[]>
|
|
4495
|
-
/**
|
|
4496
|
-
* disallow the `Object.values` method.
|
|
4497
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-object-values.html
|
|
4498
|
-
*/
|
|
4499
|
-
'no-autofix/es-x/no-object-values'?: Linter.RuleEntry<[]>
|
|
4500
|
-
/**
|
|
4501
|
-
* disallow octal numeric literals.
|
|
4502
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-octal-numeric-literals.html
|
|
4503
|
-
*/
|
|
4504
|
-
'no-autofix/es-x/no-octal-numeric-literals'?: Linter.RuleEntry<[]>
|
|
4505
|
-
/**
|
|
4506
|
-
* disallow optional `catch` binding.
|
|
4507
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-optional-catch-binding.html
|
|
4508
|
-
*/
|
|
4509
|
-
'no-autofix/es-x/no-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4510
|
-
/**
|
|
4511
|
-
* disallow optional chaining.
|
|
4512
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-optional-chaining.html
|
|
4513
|
-
*/
|
|
4514
|
-
'no-autofix/es-x/no-optional-chaining'?: Linter.RuleEntry<[]>
|
|
4515
|
-
/**
|
|
4516
|
-
* disallow `#x in obj`.
|
|
4517
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-private-in.html
|
|
4518
|
-
*/
|
|
4519
|
-
'no-autofix/es-x/no-private-in'?: Linter.RuleEntry<[]>
|
|
4520
|
-
/**
|
|
4521
|
-
* disallow the `Promise` class.
|
|
4522
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise.html
|
|
4523
|
-
*/
|
|
4524
|
-
'no-autofix/es-x/no-promise'?: Linter.RuleEntry<[]>
|
|
4525
|
-
/**
|
|
4526
|
-
* disallow `Promise.allSettled` function
|
|
4527
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-all-settled.html
|
|
4528
|
-
*/
|
|
4529
|
-
'no-autofix/es-x/no-promise-all-settled'?: Linter.RuleEntry<[]>
|
|
4530
|
-
/**
|
|
4531
|
-
* disallow `Promise.any` function and `AggregateError` class
|
|
4532
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-any.html
|
|
4533
|
-
*/
|
|
4534
|
-
'no-autofix/es-x/no-promise-any'?: Linter.RuleEntry<[]>
|
|
4535
|
-
/**
|
|
4536
|
-
* disallow the `Promise.prototype.finally` method.
|
|
4537
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-prototype-finally.html
|
|
4538
|
-
*/
|
|
4539
|
-
'no-autofix/es-x/no-promise-prototype-finally'?: Linter.RuleEntry<NoAutofixEsXNoPromisePrototypeFinally>
|
|
4540
|
-
/**
|
|
4541
|
-
* disallow property shorthands.
|
|
4542
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-property-shorthands.html
|
|
4543
|
-
*/
|
|
4544
|
-
'no-autofix/es-x/no-property-shorthands'?: Linter.RuleEntry<[]>
|
|
4545
|
-
/**
|
|
4546
|
-
* disallow the `Proxy` class.
|
|
4547
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-proxy.html
|
|
4548
|
-
*/
|
|
4549
|
-
'no-autofix/es-x/no-proxy'?: Linter.RuleEntry<[]>
|
|
4550
|
-
/**
|
|
4551
|
-
* disallow the `Reflect` class.
|
|
4552
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-reflect.html
|
|
4553
|
-
*/
|
|
4554
|
-
'no-autofix/es-x/no-reflect'?: Linter.RuleEntry<[]>
|
|
4555
|
-
/**
|
|
4556
|
-
* disallow RegExp `d` flag.
|
|
4557
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-d-flag.html
|
|
4558
|
-
*/
|
|
4559
|
-
'no-autofix/es-x/no-regexp-d-flag'?: Linter.RuleEntry<[]>
|
|
4560
|
-
/**
|
|
4561
|
-
* disallow RegExp lookbehind assertions.
|
|
4562
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-lookbehind-assertions.html
|
|
4563
|
-
*/
|
|
4564
|
-
'no-autofix/es-x/no-regexp-lookbehind-assertions'?: Linter.RuleEntry<[]>
|
|
4565
|
-
/**
|
|
4566
|
-
* disallow RegExp named capture groups.
|
|
4567
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-named-capture-groups.html
|
|
4568
|
-
*/
|
|
4569
|
-
'no-autofix/es-x/no-regexp-named-capture-groups'?: Linter.RuleEntry<[]>
|
|
4570
|
-
/**
|
|
4571
|
-
* disallow the `RegExp.prototype.compile` method.
|
|
4572
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-prototype-compile.html
|
|
4573
|
-
*/
|
|
4574
|
-
'no-autofix/es-x/no-regexp-prototype-compile'?: Linter.RuleEntry<NoAutofixEsXNoRegexpPrototypeCompile>
|
|
4575
|
-
/**
|
|
4576
|
-
* disallow the `RegExp.prototype.flags` property.
|
|
4577
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-prototype-flags.html
|
|
4578
|
-
*/
|
|
4579
|
-
'no-autofix/es-x/no-regexp-prototype-flags'?: Linter.RuleEntry<NoAutofixEsXNoRegexpPrototypeFlags>
|
|
4580
|
-
/**
|
|
4581
|
-
* disallow RegExp `s` flag.
|
|
4582
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-s-flag.html
|
|
4583
|
-
*/
|
|
4584
|
-
'no-autofix/es-x/no-regexp-s-flag'?: Linter.RuleEntry<[]>
|
|
4585
|
-
/**
|
|
4586
|
-
* disallow RegExp `u` flag.
|
|
4587
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-u-flag.html
|
|
4588
|
-
*/
|
|
4589
|
-
'no-autofix/es-x/no-regexp-u-flag'?: Linter.RuleEntry<[]>
|
|
4590
|
-
/**
|
|
4591
|
-
* disallow RegExp Unicode property escape sequences.
|
|
4592
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes.html
|
|
4593
|
-
*/
|
|
4594
|
-
'no-autofix/es-x/no-regexp-unicode-property-escapes'?: Linter.RuleEntry<[]>
|
|
4595
|
-
/**
|
|
4596
|
-
* disallow the new values of RegExp Unicode property escape sequences in ES2019
|
|
4597
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2019.html
|
|
4598
|
-
*/
|
|
4599
|
-
'no-autofix/es-x/no-regexp-unicode-property-escapes-2019'?: Linter.RuleEntry<[]>
|
|
4600
|
-
/**
|
|
4601
|
-
* disallow the new values of RegExp Unicode property escape sequences in ES2020
|
|
4602
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2020.html
|
|
4603
|
-
*/
|
|
4604
|
-
'no-autofix/es-x/no-regexp-unicode-property-escapes-2020'?: Linter.RuleEntry<[]>
|
|
4605
|
-
/**
|
|
4606
|
-
* disallow the new values of RegExp Unicode property escape sequences in ES2021
|
|
4607
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2021.html
|
|
4608
|
-
*/
|
|
4609
|
-
'no-autofix/es-x/no-regexp-unicode-property-escapes-2021'?: Linter.RuleEntry<[]>
|
|
4610
|
-
/**
|
|
4611
|
-
* disallow the new values of RegExp Unicode property escape sequences in ES2022
|
|
4612
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2022.html
|
|
4613
|
-
*/
|
|
4614
|
-
'no-autofix/es-x/no-regexp-unicode-property-escapes-2022'?: Linter.RuleEntry<[]>
|
|
4615
|
-
/**
|
|
4616
|
-
* disallow the new values of RegExp Unicode property escape sequences in ES2023
|
|
4617
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-unicode-property-escapes-2023.html
|
|
4618
|
-
*/
|
|
4619
|
-
'no-autofix/es-x/no-regexp-unicode-property-escapes-2023'?: Linter.RuleEntry<[]>
|
|
4620
|
-
/**
|
|
4621
|
-
* disallow RegExp `v` flag.
|
|
4622
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-v-flag.html
|
|
4623
|
-
*/
|
|
4624
|
-
'no-autofix/es-x/no-regexp-v-flag'?: Linter.RuleEntry<[]>
|
|
4625
|
-
/**
|
|
4626
|
-
* disallow RegExp `y` flag.
|
|
4627
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-regexp-y-flag.html
|
|
4628
|
-
*/
|
|
4629
|
-
'no-autofix/es-x/no-regexp-y-flag'?: Linter.RuleEntry<[]>
|
|
4630
|
-
/**
|
|
4631
|
-
* disallow rest parameters.
|
|
4632
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-rest-parameters.html
|
|
4633
|
-
*/
|
|
4634
|
-
'no-autofix/es-x/no-rest-parameters'?: Linter.RuleEntry<[]>
|
|
4635
|
-
/**
|
|
4636
|
-
* disallow rest/spread properties.
|
|
4637
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-rest-spread-properties.html
|
|
4638
|
-
*/
|
|
4639
|
-
'no-autofix/es-x/no-rest-spread-properties'?: Linter.RuleEntry<[]>
|
|
4640
|
-
/**
|
|
4641
|
-
* disallow the `Set` class.
|
|
4642
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-set.html
|
|
4643
|
-
*/
|
|
4644
|
-
'no-autofix/es-x/no-set'?: Linter.RuleEntry<[]>
|
|
4645
|
-
/**
|
|
4646
|
-
* disallow identifiers from shadowing catch parameter names.
|
|
4647
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-shadow-catch-param.html
|
|
4648
|
-
*/
|
|
4649
|
-
'no-autofix/es-x/no-shadow-catch-param'?: Linter.RuleEntry<[]>
|
|
4650
|
-
/**
|
|
4651
|
-
* disallow the `SharedArrayBuffer` class.
|
|
4652
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-shared-array-buffer.html
|
|
4653
|
-
*/
|
|
4654
|
-
'no-autofix/es-x/no-shared-array-buffer'?: Linter.RuleEntry<[]>
|
|
4655
|
-
/**
|
|
4656
|
-
* disallow spread elements.
|
|
4657
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-spread-elements.html
|
|
4658
|
-
*/
|
|
4659
|
-
'no-autofix/es-x/no-spread-elements'?: Linter.RuleEntry<[]>
|
|
4660
|
-
/**
|
|
4661
|
-
* disallow HTML creation methods of string instances.
|
|
4662
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-create-html-methods.html
|
|
4663
|
-
*/
|
|
4664
|
-
'no-autofix/es-x/no-string-create-html-methods'?: Linter.RuleEntry<NoAutofixEsXNoStringCreateHtmlMethods>
|
|
4665
|
-
/**
|
|
4666
|
-
* disallow the `String.fromCodePoint` method.
|
|
4667
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-fromcodepoint.html
|
|
4668
|
-
*/
|
|
4669
|
-
'no-autofix/es-x/no-string-fromcodepoint'?: Linter.RuleEntry<[]>
|
|
4670
|
-
/**
|
|
4671
|
-
* disallow the `String.prototype.codePointAt` method.
|
|
4672
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-codepointat.html
|
|
4673
|
-
*/
|
|
4674
|
-
'no-autofix/es-x/no-string-prototype-codepointat'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeCodepointat>
|
|
4675
|
-
/**
|
|
4676
|
-
* disallow the `String.prototype.endsWith` method.
|
|
4677
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-endswith.html
|
|
4678
|
-
*/
|
|
4679
|
-
'no-autofix/es-x/no-string-prototype-endswith'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeEndswith>
|
|
4680
|
-
/**
|
|
4681
|
-
* disallow the `String.prototype.includes` method.
|
|
4682
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-includes.html
|
|
4683
|
-
*/
|
|
4684
|
-
'no-autofix/es-x/no-string-prototype-includes'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeIncludes>
|
|
4685
|
-
/**
|
|
4686
|
-
* disallow the `String.prototype.{isWellFormed,toWellFormed}` methods.
|
|
4687
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-iswellformed-towellformed.html
|
|
4688
|
-
*/
|
|
4689
|
-
'no-autofix/es-x/no-string-prototype-iswellformed-towellformed'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeIswellformedTowellformed>
|
|
4690
|
-
/**
|
|
4691
|
-
* disallow the `String.prototype.matchAll` method.
|
|
4692
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-matchall.html
|
|
4693
|
-
*/
|
|
4694
|
-
'no-autofix/es-x/no-string-prototype-matchall'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeMatchall>
|
|
4695
|
-
/**
|
|
4696
|
-
* disallow the `String.prototype.normalize` method.
|
|
4697
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-normalize.html
|
|
4698
|
-
*/
|
|
4699
|
-
'no-autofix/es-x/no-string-prototype-normalize'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeNormalize>
|
|
4700
|
-
/**
|
|
4701
|
-
* disallow the `String.prototype.{padStart,padEnd}` methods.
|
|
4702
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-padstart-padend.html
|
|
4703
|
-
*/
|
|
4704
|
-
'no-autofix/es-x/no-string-prototype-padstart-padend'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypePadstartPadend>
|
|
4705
|
-
/**
|
|
4706
|
-
* disallow the `String.prototype.repeat` method.
|
|
4707
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-repeat.html
|
|
4708
|
-
*/
|
|
4709
|
-
'no-autofix/es-x/no-string-prototype-repeat'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeRepeat>
|
|
4710
|
-
/**
|
|
4711
|
-
* disallow the `String.prototype.replaceAll` method.
|
|
4712
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-replaceall.html
|
|
4713
|
-
*/
|
|
4714
|
-
'no-autofix/es-x/no-string-prototype-replaceall'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeReplaceall>
|
|
4715
|
-
/**
|
|
4716
|
-
* disallow the `String.prototype.startsWith` method.
|
|
4717
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-startswith.html
|
|
4718
|
-
*/
|
|
4719
|
-
'no-autofix/es-x/no-string-prototype-startswith'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeStartswith>
|
|
4720
|
-
/**
|
|
4721
|
-
* disallow the `String.prototype.substr` method.
|
|
4722
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-substr.html
|
|
4723
|
-
*/
|
|
4724
|
-
'no-autofix/es-x/no-string-prototype-substr'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeSubstr>
|
|
4725
|
-
/**
|
|
4726
|
-
* disallow the `String.prototype.trim` method.
|
|
4727
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trim.html
|
|
4728
|
-
*/
|
|
4729
|
-
'no-autofix/es-x/no-string-prototype-trim'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeTrim>
|
|
4730
|
-
/**
|
|
4731
|
-
* disallow the `String.prototype.{trimLeft,trimRight}` methods.
|
|
4732
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trimleft-trimright.html
|
|
4733
|
-
*/
|
|
4734
|
-
'no-autofix/es-x/no-string-prototype-trimleft-trimright'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeTrimleftTrimright>
|
|
4735
|
-
/**
|
|
4736
|
-
* disallow the `String.prototype.{trimStart,trimEnd}` methods.
|
|
4737
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trimstart-trimend.html
|
|
4738
|
-
*/
|
|
4739
|
-
'no-autofix/es-x/no-string-prototype-trimstart-trimend'?: Linter.RuleEntry<NoAutofixEsXNoStringPrototypeTrimstartTrimend>
|
|
4740
|
-
/**
|
|
4741
|
-
* disallow the `String.raw` method.
|
|
4742
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-raw.html
|
|
4743
|
-
*/
|
|
4744
|
-
'no-autofix/es-x/no-string-raw'?: Linter.RuleEntry<[]>
|
|
4745
|
-
/**
|
|
4746
|
-
* disallow the subclassing of the built-in classes.
|
|
4747
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-subclassing-builtins.html
|
|
4748
|
-
*/
|
|
4749
|
-
'no-autofix/es-x/no-subclassing-builtins'?: Linter.RuleEntry<[]>
|
|
4750
|
-
/**
|
|
4751
|
-
* disallow the `Symbol` class.
|
|
4752
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-symbol.html
|
|
4753
|
-
*/
|
|
4754
|
-
'no-autofix/es-x/no-symbol'?: Linter.RuleEntry<[]>
|
|
4755
|
-
/**
|
|
4756
|
-
* disallow the `Symbol.prototype.description` property.
|
|
4757
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-symbol-prototype-description.html
|
|
4758
|
-
*/
|
|
4759
|
-
'no-autofix/es-x/no-symbol-prototype-description'?: Linter.RuleEntry<NoAutofixEsXNoSymbolPrototypeDescription>
|
|
4760
|
-
/**
|
|
4761
|
-
* disallow template literals.
|
|
4762
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-template-literals.html
|
|
4763
|
-
*/
|
|
4764
|
-
'no-autofix/es-x/no-template-literals'?: Linter.RuleEntry<[]>
|
|
4765
|
-
/**
|
|
4766
|
-
* disallow top-level `await`.
|
|
4767
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-top-level-await.html
|
|
4768
|
-
*/
|
|
4769
|
-
'no-autofix/es-x/no-top-level-await'?: Linter.RuleEntry<[]>
|
|
4770
|
-
/**
|
|
4771
|
-
* disallow trailing commas in array/object literals.
|
|
4772
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-trailing-commas.html
|
|
4773
|
-
*/
|
|
4774
|
-
'no-autofix/es-x/no-trailing-commas'?: Linter.RuleEntry<[]>
|
|
4775
|
-
/**
|
|
4776
|
-
* disallow trailing commas in parameter/argument lists.
|
|
4777
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-trailing-function-commas.html
|
|
4778
|
-
*/
|
|
4779
|
-
'no-autofix/es-x/no-trailing-function-commas'?: Linter.RuleEntry<[]>
|
|
4780
|
-
/**
|
|
4781
|
-
* disallow ES2015 typed arrays.
|
|
4782
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-typed-arrays.html
|
|
4783
|
-
*/
|
|
4784
|
-
'no-autofix/es-x/no-typed-arrays'?: Linter.RuleEntry<[]>
|
|
4785
|
-
/**
|
|
4786
|
-
* disallow Unicode code point escape sequences.
|
|
4787
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-unicode-codepoint-escapes.html
|
|
4788
|
-
*/
|
|
4789
|
-
'no-autofix/es-x/no-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
|
|
4790
|
-
/**
|
|
4791
|
-
* disallow the `WeakMap` class.
|
|
4792
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weak-map.html
|
|
4793
|
-
*/
|
|
4794
|
-
'no-autofix/es-x/no-weak-map'?: Linter.RuleEntry<[]>
|
|
4795
|
-
/**
|
|
4796
|
-
* disallow the `WeakSet` class.
|
|
4797
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weak-set.html
|
|
4798
|
-
*/
|
|
4799
|
-
'no-autofix/es-x/no-weak-set'?: Linter.RuleEntry<[]>
|
|
4800
|
-
/**
|
|
4801
|
-
* disallow the `WeakRef` and `FinalizationRegistry` class.
|
|
4802
|
-
* @see http://eslint-community.github.io/eslint-plugin-es-x/rules/no-weakrefs.html
|
|
4803
|
-
*/
|
|
4804
|
-
'no-autofix/es-x/no-weakrefs'?: Linter.RuleEntry<[]>
|
|
4805
3825
|
/**
|
|
4806
3826
|
* disallow accessor properties.
|
|
4807
3827
|
* @see http://mysticatea.github.io/eslint-plugin-es/rules/no-accessor-properties.html
|
|
@@ -7507,11 +6527,6 @@ interface RuleOptions {
|
|
|
7507
6527
|
* @see https://eslint.org/docs/latest/rules/no-octal-escape
|
|
7508
6528
|
*/
|
|
7509
6529
|
'no-autofix/no-octal-escape'?: Linter.RuleEntry<[]>
|
|
7510
|
-
/**
|
|
7511
|
-
* disallow .only blocks in tests
|
|
7512
|
-
* @see https://github.com/levibuzolic/eslint-plugin-no-only-tests
|
|
7513
|
-
*/
|
|
7514
|
-
'no-autofix/no-only-tests/no-only-tests'?: Linter.RuleEntry<NoAutofixNoOnlyTestsNoOnlyTests>
|
|
7515
6530
|
/**
|
|
7516
6531
|
* Disallow reassigning `function` parameters
|
|
7517
6532
|
* @see https://eslint.org/docs/latest/rules/no-param-reassign
|
|
@@ -10275,26 +9290,6 @@ interface RuleOptions {
|
|
|
10275
9290
|
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
|
|
10276
9291
|
*/
|
|
10277
9292
|
'no-autofix/unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
10278
|
-
/**
|
|
10279
|
-
* Disallow unused variables
|
|
10280
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
10281
|
-
*/
|
|
10282
|
-
'no-autofix/unused-imports/no-unused-imports'?: Linter.RuleEntry<NoAutofixUnusedImportsNoUnusedImports>
|
|
10283
|
-
/**
|
|
10284
|
-
* Disallow unused variables
|
|
10285
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
10286
|
-
*/
|
|
10287
|
-
'no-autofix/unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<NoAutofixUnusedImportsNoUnusedImportsTs>
|
|
10288
|
-
/**
|
|
10289
|
-
* Disallow unused variables
|
|
10290
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
10291
|
-
*/
|
|
10292
|
-
'no-autofix/unused-imports/no-unused-vars'?: Linter.RuleEntry<NoAutofixUnusedImportsNoUnusedVars>
|
|
10293
|
-
/**
|
|
10294
|
-
* Disallow unused variables
|
|
10295
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
10296
|
-
*/
|
|
10297
|
-
'no-autofix/unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<NoAutofixUnusedImportsNoUnusedVarsTs>
|
|
10298
9293
|
/**
|
|
10299
9294
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
10300
9295
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -13317,7 +12312,7 @@ interface RuleOptions {
|
|
|
13317
12312
|
'ts/no-unused-expressions'?: Linter.RuleEntry<TsNoUnusedExpressions>
|
|
13318
12313
|
/**
|
|
13319
12314
|
* Disallow unused variables
|
|
13320
|
-
* @see https://
|
|
12315
|
+
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
13321
12316
|
*/
|
|
13322
12317
|
'ts/no-unused-vars'?: Linter.RuleEntry<TsNoUnusedVars>
|
|
13323
12318
|
/**
|
|
@@ -20677,214 +19672,6 @@ type NoAutofixEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
20677
19672
|
type NoAutofixEqeqeq = ([]|["always"]|["always", {
|
|
20678
19673
|
null?: ("always" | "never" | "ignore")
|
|
20679
19674
|
}] | []|[("smart" | "allow-null")])
|
|
20680
|
-
// ----- no-autofix/es-x/no-array-prototype-copywithin -----
|
|
20681
|
-
type NoAutofixEsXNoArrayPrototypeCopywithin = []|[{
|
|
20682
|
-
aggressive?: boolean
|
|
20683
|
-
}]
|
|
20684
|
-
// ----- no-autofix/es-x/no-array-prototype-entries -----
|
|
20685
|
-
type NoAutofixEsXNoArrayPrototypeEntries = []|[{
|
|
20686
|
-
aggressive?: boolean
|
|
20687
|
-
}]
|
|
20688
|
-
// ----- no-autofix/es-x/no-array-prototype-every -----
|
|
20689
|
-
type NoAutofixEsXNoArrayPrototypeEvery = []|[{
|
|
20690
|
-
aggressive?: boolean
|
|
20691
|
-
}]
|
|
20692
|
-
// ----- no-autofix/es-x/no-array-prototype-fill -----
|
|
20693
|
-
type NoAutofixEsXNoArrayPrototypeFill = []|[{
|
|
20694
|
-
aggressive?: boolean
|
|
20695
|
-
}]
|
|
20696
|
-
// ----- no-autofix/es-x/no-array-prototype-filter -----
|
|
20697
|
-
type NoAutofixEsXNoArrayPrototypeFilter = []|[{
|
|
20698
|
-
aggressive?: boolean
|
|
20699
|
-
}]
|
|
20700
|
-
// ----- no-autofix/es-x/no-array-prototype-find -----
|
|
20701
|
-
type NoAutofixEsXNoArrayPrototypeFind = []|[{
|
|
20702
|
-
aggressive?: boolean
|
|
20703
|
-
}]
|
|
20704
|
-
// ----- no-autofix/es-x/no-array-prototype-findindex -----
|
|
20705
|
-
type NoAutofixEsXNoArrayPrototypeFindindex = []|[{
|
|
20706
|
-
aggressive?: boolean
|
|
20707
|
-
}]
|
|
20708
|
-
// ----- no-autofix/es-x/no-array-prototype-findlast-findlastindex -----
|
|
20709
|
-
type NoAutofixEsXNoArrayPrototypeFindlastFindlastindex = []|[{
|
|
20710
|
-
aggressive?: boolean
|
|
20711
|
-
}]
|
|
20712
|
-
// ----- no-autofix/es-x/no-array-prototype-flat -----
|
|
20713
|
-
type NoAutofixEsXNoArrayPrototypeFlat = []|[{
|
|
20714
|
-
aggressive?: boolean
|
|
20715
|
-
}]
|
|
20716
|
-
// ----- no-autofix/es-x/no-array-prototype-foreach -----
|
|
20717
|
-
type NoAutofixEsXNoArrayPrototypeForeach = []|[{
|
|
20718
|
-
aggressive?: boolean
|
|
20719
|
-
}]
|
|
20720
|
-
// ----- no-autofix/es-x/no-array-prototype-includes -----
|
|
20721
|
-
type NoAutofixEsXNoArrayPrototypeIncludes = []|[{
|
|
20722
|
-
aggressive?: boolean
|
|
20723
|
-
}]
|
|
20724
|
-
// ----- no-autofix/es-x/no-array-prototype-indexof -----
|
|
20725
|
-
type NoAutofixEsXNoArrayPrototypeIndexof = []|[{
|
|
20726
|
-
aggressive?: boolean
|
|
20727
|
-
}]
|
|
20728
|
-
// ----- no-autofix/es-x/no-array-prototype-keys -----
|
|
20729
|
-
type NoAutofixEsXNoArrayPrototypeKeys = []|[{
|
|
20730
|
-
aggressive?: boolean
|
|
20731
|
-
}]
|
|
20732
|
-
// ----- no-autofix/es-x/no-array-prototype-lastindexof -----
|
|
20733
|
-
type NoAutofixEsXNoArrayPrototypeLastindexof = []|[{
|
|
20734
|
-
aggressive?: boolean
|
|
20735
|
-
}]
|
|
20736
|
-
// ----- no-autofix/es-x/no-array-prototype-map -----
|
|
20737
|
-
type NoAutofixEsXNoArrayPrototypeMap = []|[{
|
|
20738
|
-
aggressive?: boolean
|
|
20739
|
-
}]
|
|
20740
|
-
// ----- no-autofix/es-x/no-array-prototype-reduce -----
|
|
20741
|
-
type NoAutofixEsXNoArrayPrototypeReduce = []|[{
|
|
20742
|
-
aggressive?: boolean
|
|
20743
|
-
}]
|
|
20744
|
-
// ----- no-autofix/es-x/no-array-prototype-reduceright -----
|
|
20745
|
-
type NoAutofixEsXNoArrayPrototypeReduceright = []|[{
|
|
20746
|
-
aggressive?: boolean
|
|
20747
|
-
}]
|
|
20748
|
-
// ----- no-autofix/es-x/no-array-prototype-some -----
|
|
20749
|
-
type NoAutofixEsXNoArrayPrototypeSome = []|[{
|
|
20750
|
-
aggressive?: boolean
|
|
20751
|
-
}]
|
|
20752
|
-
// ----- no-autofix/es-x/no-array-prototype-toreversed -----
|
|
20753
|
-
type NoAutofixEsXNoArrayPrototypeToreversed = []|[{
|
|
20754
|
-
aggressive?: boolean
|
|
20755
|
-
}]
|
|
20756
|
-
// ----- no-autofix/es-x/no-array-prototype-tosorted -----
|
|
20757
|
-
type NoAutofixEsXNoArrayPrototypeTosorted = []|[{
|
|
20758
|
-
aggressive?: boolean
|
|
20759
|
-
}]
|
|
20760
|
-
// ----- no-autofix/es-x/no-array-prototype-tospliced -----
|
|
20761
|
-
type NoAutofixEsXNoArrayPrototypeTospliced = []|[{
|
|
20762
|
-
aggressive?: boolean
|
|
20763
|
-
}]
|
|
20764
|
-
// ----- no-autofix/es-x/no-array-prototype-values -----
|
|
20765
|
-
type NoAutofixEsXNoArrayPrototypeValues = []|[{
|
|
20766
|
-
aggressive?: boolean
|
|
20767
|
-
}]
|
|
20768
|
-
// ----- no-autofix/es-x/no-array-prototype-with -----
|
|
20769
|
-
type NoAutofixEsXNoArrayPrototypeWith = []|[{
|
|
20770
|
-
aggressive?: boolean
|
|
20771
|
-
}]
|
|
20772
|
-
// ----- no-autofix/es-x/no-array-string-prototype-at -----
|
|
20773
|
-
type NoAutofixEsXNoArrayStringPrototypeAt = []|[{
|
|
20774
|
-
aggressive?: boolean
|
|
20775
|
-
}]
|
|
20776
|
-
// ----- no-autofix/es-x/no-date-prototype-getyear-setyear -----
|
|
20777
|
-
type NoAutofixEsXNoDatePrototypeGetyearSetyear = []|[{
|
|
20778
|
-
aggressive?: boolean
|
|
20779
|
-
}]
|
|
20780
|
-
// ----- no-autofix/es-x/no-date-prototype-togmtstring -----
|
|
20781
|
-
type NoAutofixEsXNoDatePrototypeTogmtstring = []|[{
|
|
20782
|
-
aggressive?: boolean
|
|
20783
|
-
}]
|
|
20784
|
-
// ----- no-autofix/es-x/no-function-prototype-bind -----
|
|
20785
|
-
type NoAutofixEsXNoFunctionPrototypeBind = []|[{
|
|
20786
|
-
aggressive?: boolean
|
|
20787
|
-
}]
|
|
20788
|
-
// ----- no-autofix/es-x/no-intl-datetimeformat-prototype-formatrange -----
|
|
20789
|
-
type NoAutofixEsXNoIntlDatetimeformatPrototypeFormatrange = []|[{
|
|
20790
|
-
aggressive?: boolean
|
|
20791
|
-
}]
|
|
20792
|
-
// ----- no-autofix/es-x/no-intl-datetimeformat-prototype-formattoparts -----
|
|
20793
|
-
type NoAutofixEsXNoIntlDatetimeformatPrototypeFormattoparts = []|[{
|
|
20794
|
-
aggressive?: boolean
|
|
20795
|
-
}]
|
|
20796
|
-
// ----- no-autofix/es-x/no-intl-numberformat-prototype-formatrange -----
|
|
20797
|
-
type NoAutofixEsXNoIntlNumberformatPrototypeFormatrange = []|[{
|
|
20798
|
-
aggressive?: boolean
|
|
20799
|
-
}]
|
|
20800
|
-
// ----- no-autofix/es-x/no-intl-numberformat-prototype-formatrangetoparts -----
|
|
20801
|
-
type NoAutofixEsXNoIntlNumberformatPrototypeFormatrangetoparts = []|[{
|
|
20802
|
-
aggressive?: boolean
|
|
20803
|
-
}]
|
|
20804
|
-
// ----- no-autofix/es-x/no-intl-numberformat-prototype-formattoparts -----
|
|
20805
|
-
type NoAutofixEsXNoIntlNumberformatPrototypeFormattoparts = []|[{
|
|
20806
|
-
aggressive?: boolean
|
|
20807
|
-
}]
|
|
20808
|
-
// ----- no-autofix/es-x/no-intl-pluralrules-prototype-selectrange -----
|
|
20809
|
-
type NoAutofixEsXNoIntlPluralrulesPrototypeSelectrange = []|[{
|
|
20810
|
-
aggressive?: boolean
|
|
20811
|
-
}]
|
|
20812
|
-
// ----- no-autofix/es-x/no-promise-prototype-finally -----
|
|
20813
|
-
type NoAutofixEsXNoPromisePrototypeFinally = []|[{
|
|
20814
|
-
aggressive?: boolean
|
|
20815
|
-
}]
|
|
20816
|
-
// ----- no-autofix/es-x/no-regexp-prototype-compile -----
|
|
20817
|
-
type NoAutofixEsXNoRegexpPrototypeCompile = []|[{
|
|
20818
|
-
aggressive?: boolean
|
|
20819
|
-
}]
|
|
20820
|
-
// ----- no-autofix/es-x/no-regexp-prototype-flags -----
|
|
20821
|
-
type NoAutofixEsXNoRegexpPrototypeFlags = []|[{
|
|
20822
|
-
aggressive?: boolean
|
|
20823
|
-
}]
|
|
20824
|
-
// ----- no-autofix/es-x/no-string-create-html-methods -----
|
|
20825
|
-
type NoAutofixEsXNoStringCreateHtmlMethods = []|[{
|
|
20826
|
-
aggressive?: boolean
|
|
20827
|
-
}]
|
|
20828
|
-
// ----- no-autofix/es-x/no-string-prototype-codepointat -----
|
|
20829
|
-
type NoAutofixEsXNoStringPrototypeCodepointat = []|[{
|
|
20830
|
-
aggressive?: boolean
|
|
20831
|
-
}]
|
|
20832
|
-
// ----- no-autofix/es-x/no-string-prototype-endswith -----
|
|
20833
|
-
type NoAutofixEsXNoStringPrototypeEndswith = []|[{
|
|
20834
|
-
aggressive?: boolean
|
|
20835
|
-
}]
|
|
20836
|
-
// ----- no-autofix/es-x/no-string-prototype-includes -----
|
|
20837
|
-
type NoAutofixEsXNoStringPrototypeIncludes = []|[{
|
|
20838
|
-
aggressive?: boolean
|
|
20839
|
-
}]
|
|
20840
|
-
// ----- no-autofix/es-x/no-string-prototype-iswellformed-towellformed -----
|
|
20841
|
-
type NoAutofixEsXNoStringPrototypeIswellformedTowellformed = []|[{
|
|
20842
|
-
aggressive?: boolean
|
|
20843
|
-
}]
|
|
20844
|
-
// ----- no-autofix/es-x/no-string-prototype-matchall -----
|
|
20845
|
-
type NoAutofixEsXNoStringPrototypeMatchall = []|[{
|
|
20846
|
-
aggressive?: boolean
|
|
20847
|
-
}]
|
|
20848
|
-
// ----- no-autofix/es-x/no-string-prototype-normalize -----
|
|
20849
|
-
type NoAutofixEsXNoStringPrototypeNormalize = []|[{
|
|
20850
|
-
aggressive?: boolean
|
|
20851
|
-
}]
|
|
20852
|
-
// ----- no-autofix/es-x/no-string-prototype-padstart-padend -----
|
|
20853
|
-
type NoAutofixEsXNoStringPrototypePadstartPadend = []|[{
|
|
20854
|
-
aggressive?: boolean
|
|
20855
|
-
}]
|
|
20856
|
-
// ----- no-autofix/es-x/no-string-prototype-repeat -----
|
|
20857
|
-
type NoAutofixEsXNoStringPrototypeRepeat = []|[{
|
|
20858
|
-
aggressive?: boolean
|
|
20859
|
-
}]
|
|
20860
|
-
// ----- no-autofix/es-x/no-string-prototype-replaceall -----
|
|
20861
|
-
type NoAutofixEsXNoStringPrototypeReplaceall = []|[{
|
|
20862
|
-
aggressive?: boolean
|
|
20863
|
-
}]
|
|
20864
|
-
// ----- no-autofix/es-x/no-string-prototype-startswith -----
|
|
20865
|
-
type NoAutofixEsXNoStringPrototypeStartswith = []|[{
|
|
20866
|
-
aggressive?: boolean
|
|
20867
|
-
}]
|
|
20868
|
-
// ----- no-autofix/es-x/no-string-prototype-substr -----
|
|
20869
|
-
type NoAutofixEsXNoStringPrototypeSubstr = []|[{
|
|
20870
|
-
aggressive?: boolean
|
|
20871
|
-
}]
|
|
20872
|
-
// ----- no-autofix/es-x/no-string-prototype-trim -----
|
|
20873
|
-
type NoAutofixEsXNoStringPrototypeTrim = []|[{
|
|
20874
|
-
aggressive?: boolean
|
|
20875
|
-
}]
|
|
20876
|
-
// ----- no-autofix/es-x/no-string-prototype-trimleft-trimright -----
|
|
20877
|
-
type NoAutofixEsXNoStringPrototypeTrimleftTrimright = []|[{
|
|
20878
|
-
aggressive?: boolean
|
|
20879
|
-
}]
|
|
20880
|
-
// ----- no-autofix/es-x/no-string-prototype-trimstart-trimend -----
|
|
20881
|
-
type NoAutofixEsXNoStringPrototypeTrimstartTrimend = []|[{
|
|
20882
|
-
aggressive?: boolean
|
|
20883
|
-
}]
|
|
20884
|
-
// ----- no-autofix/es-x/no-symbol-prototype-description -----
|
|
20885
|
-
type NoAutofixEsXNoSymbolPrototypeDescription = []|[{
|
|
20886
|
-
aggressive?: boolean
|
|
20887
|
-
}]
|
|
20888
19675
|
// ----- no-autofix/eslint-comments/disable-enable-pair -----
|
|
20889
19676
|
type NoAutofixEslintCommentsDisableEnablePair = []|[{
|
|
20890
19677
|
allowWholeFile?: boolean
|
|
@@ -22973,12 +21760,6 @@ type NoAutofixNoMultipleEmptyLines = []|[{
|
|
|
22973
21760
|
type NoAutofixNoNativeReassign = []|[{
|
|
22974
21761
|
exceptions?: string[]
|
|
22975
21762
|
}]
|
|
22976
|
-
// ----- no-autofix/no-only-tests/no-only-tests -----
|
|
22977
|
-
type NoAutofixNoOnlyTestsNoOnlyTests = []|[{
|
|
22978
|
-
block?: string[]
|
|
22979
|
-
focus?: string[]
|
|
22980
|
-
fix?: boolean
|
|
22981
|
-
}]
|
|
22982
21763
|
// ----- no-autofix/no-param-reassign -----
|
|
22983
21764
|
type NoAutofixNoParamReassign = []|[({
|
|
22984
21765
|
props?: false
|
|
@@ -24690,50 +23471,6 @@ type NoAutofixUnicornTemplateIndent = []|[{
|
|
|
24690
23471
|
selectors?: string[]
|
|
24691
23472
|
comments?: string[]
|
|
24692
23473
|
}]
|
|
24693
|
-
// ----- no-autofix/unused-imports/no-unused-imports -----
|
|
24694
|
-
type NoAutofixUnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
24695
|
-
vars?: ("all" | "local")
|
|
24696
|
-
varsIgnorePattern?: string
|
|
24697
|
-
args?: ("all" | "after-used" | "none")
|
|
24698
|
-
ignoreRestSiblings?: boolean
|
|
24699
|
-
argsIgnorePattern?: string
|
|
24700
|
-
caughtErrors?: ("all" | "none")
|
|
24701
|
-
caughtErrorsIgnorePattern?: string
|
|
24702
|
-
destructuredArrayIgnorePattern?: string
|
|
24703
|
-
})]
|
|
24704
|
-
// ----- no-autofix/unused-imports/no-unused-imports-ts -----
|
|
24705
|
-
type NoAutofixUnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
24706
|
-
vars?: ("all" | "local")
|
|
24707
|
-
varsIgnorePattern?: string
|
|
24708
|
-
args?: ("all" | "after-used" | "none")
|
|
24709
|
-
ignoreRestSiblings?: boolean
|
|
24710
|
-
argsIgnorePattern?: string
|
|
24711
|
-
caughtErrors?: ("all" | "none")
|
|
24712
|
-
caughtErrorsIgnorePattern?: string
|
|
24713
|
-
destructuredArrayIgnorePattern?: string
|
|
24714
|
-
})]
|
|
24715
|
-
// ----- no-autofix/unused-imports/no-unused-vars -----
|
|
24716
|
-
type NoAutofixUnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
24717
|
-
vars?: ("all" | "local")
|
|
24718
|
-
varsIgnorePattern?: string
|
|
24719
|
-
args?: ("all" | "after-used" | "none")
|
|
24720
|
-
ignoreRestSiblings?: boolean
|
|
24721
|
-
argsIgnorePattern?: string
|
|
24722
|
-
caughtErrors?: ("all" | "none")
|
|
24723
|
-
caughtErrorsIgnorePattern?: string
|
|
24724
|
-
destructuredArrayIgnorePattern?: string
|
|
24725
|
-
})]
|
|
24726
|
-
// ----- no-autofix/unused-imports/no-unused-vars-ts -----
|
|
24727
|
-
type NoAutofixUnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
24728
|
-
vars?: ("all" | "local")
|
|
24729
|
-
varsIgnorePattern?: string
|
|
24730
|
-
args?: ("all" | "after-used" | "none")
|
|
24731
|
-
ignoreRestSiblings?: boolean
|
|
24732
|
-
argsIgnorePattern?: string
|
|
24733
|
-
caughtErrors?: ("all" | "none")
|
|
24734
|
-
caughtErrorsIgnorePattern?: string
|
|
24735
|
-
destructuredArrayIgnorePattern?: string
|
|
24736
|
-
})]
|
|
24737
23474
|
// ----- no-autofix/use-isnan -----
|
|
24738
23475
|
type NoAutofixUseIsnan = []|[{
|
|
24739
23476
|
enforceForSwitchCase?: boolean
|
|
@@ -28841,12 +27578,6 @@ interface OptionsFormatters {
|
|
|
28841
27578
|
* By default it's controlled by our own config.
|
|
28842
27579
|
*/
|
|
28843
27580
|
prettierOptions?: Options;
|
|
28844
|
-
/**
|
|
28845
|
-
* Enable formatting support for TOML.
|
|
28846
|
-
*
|
|
28847
|
-
* Currently only support dprint.
|
|
28848
|
-
*/
|
|
28849
|
-
toml?: "dprint" | boolean;
|
|
28850
27581
|
}
|
|
28851
27582
|
interface OptionsComponentExtensions {
|
|
28852
27583
|
/** Additional extensions for components. */
|
|
@@ -28880,12 +27611,13 @@ type StylisticConfig = Pick<StylisticCustomizeOptions, "indent" | "jsx" | "quote
|
|
|
28880
27611
|
type ReactConfig = {
|
|
28881
27612
|
filenameCase?: "kebabCase" | "pascalCase";
|
|
28882
27613
|
} & ESLintReactSettings & OptionsOverrides;
|
|
27614
|
+
interface SpellCheckConfig {
|
|
27615
|
+
/** Defaults to `en-US`. */
|
|
27616
|
+
language?: string;
|
|
27617
|
+
}
|
|
28883
27618
|
interface OptionsOverrides {
|
|
28884
27619
|
overrides?: TypedFlatConfigItem["rules"];
|
|
28885
27620
|
}
|
|
28886
|
-
interface OptionsIsInEditor {
|
|
28887
|
-
isInEditor?: boolean;
|
|
28888
|
-
}
|
|
28889
27621
|
interface OptionsConfig extends OptionsComponentExtensions {
|
|
28890
27622
|
/**
|
|
28891
27623
|
* Automatically rename plugins in the config.
|
|
@@ -28896,13 +27628,9 @@ interface OptionsConfig extends OptionsComponentExtensions {
|
|
|
28896
27628
|
/**
|
|
28897
27629
|
* Use external formatters to format files.
|
|
28898
27630
|
*
|
|
28899
|
-
* Requires installing:
|
|
28900
|
-
*
|
|
28901
|
-
* - `eslint-plugin-format`.
|
|
28902
|
-
*
|
|
28903
27631
|
* When set to `true`, it will enable all formatters.
|
|
28904
27632
|
*
|
|
28905
|
-
* @default
|
|
27633
|
+
* @default true
|
|
28906
27634
|
*/
|
|
28907
27635
|
formatters?: OptionsFormatters | boolean;
|
|
28908
27636
|
/**
|
|
@@ -28914,12 +27642,6 @@ interface OptionsConfig extends OptionsComponentExtensions {
|
|
|
28914
27642
|
* @see https://github.com/antfu/eslint-config-flat-gitignore
|
|
28915
27643
|
*/
|
|
28916
27644
|
gitignore?: FlatGitignoreOptions | boolean;
|
|
28917
|
-
/**
|
|
28918
|
-
* Control to disable some rules in editors.
|
|
28919
|
-
*
|
|
28920
|
-
* @default auto-detect based on the process.env
|
|
28921
|
-
*/
|
|
28922
|
-
isInEditor?: boolean;
|
|
28923
27645
|
/**
|
|
28924
27646
|
* Enable JSONC support.
|
|
28925
27647
|
*
|
|
@@ -28942,24 +27664,6 @@ interface OptionsConfig extends OptionsComponentExtensions {
|
|
|
28942
27664
|
* @default true
|
|
28943
27665
|
*/
|
|
28944
27666
|
markdown?: OptionsOverrides | boolean;
|
|
28945
|
-
/**
|
|
28946
|
-
* Provide overrides for rules for each integration.
|
|
28947
|
-
*
|
|
28948
|
-
* @deprecated Use `overrides` option in each integration key instead.
|
|
28949
|
-
*/
|
|
28950
|
-
overrides?: {
|
|
28951
|
-
javascript?: TypedFlatConfigItem["rules"];
|
|
28952
|
-
jsonc?: TypedFlatConfigItem["rules"];
|
|
28953
|
-
markdown?: TypedFlatConfigItem["rules"];
|
|
28954
|
-
react?: TypedFlatConfigItem["rules"];
|
|
28955
|
-
stylistic?: TypedFlatConfigItem["rules"];
|
|
28956
|
-
svelte?: TypedFlatConfigItem["rules"];
|
|
28957
|
-
test?: TypedFlatConfigItem["rules"];
|
|
28958
|
-
toml?: TypedFlatConfigItem["rules"];
|
|
28959
|
-
typescript?: TypedFlatConfigItem["rules"];
|
|
28960
|
-
vue?: TypedFlatConfigItem["rules"];
|
|
28961
|
-
yaml?: TypedFlatConfigItem["rules"];
|
|
28962
|
-
};
|
|
28963
27667
|
/**
|
|
28964
27668
|
* Enable react rules.
|
|
28965
27669
|
*
|
|
@@ -28984,7 +27688,7 @@ interface OptionsConfig extends OptionsComponentExtensions {
|
|
|
28984
27688
|
*
|
|
28985
27689
|
* @default true
|
|
28986
27690
|
*/
|
|
28987
|
-
spellCheck?: boolean;
|
|
27691
|
+
spellCheck?: SpellCheckConfig | boolean;
|
|
28988
27692
|
/**
|
|
28989
27693
|
* Enable stylistic rules.
|
|
28990
27694
|
*
|
|
@@ -29066,7 +27770,7 @@ declare function sortPackageJson(): Promise<Array<TypedFlatConfigItem>>;
|
|
|
29066
27770
|
*/
|
|
29067
27771
|
declare function sortTsconfig(): Array<TypedFlatConfigItem>;
|
|
29068
27772
|
|
|
29069
|
-
declare function spelling(options?: OptionsComponentExtensions & OptionsFiles): Promise<Array<TypedFlatConfigItem>>;
|
|
27773
|
+
declare function spelling(options?: OptionsComponentExtensions & OptionsFiles & SpellCheckConfig): Promise<Array<TypedFlatConfigItem>>;
|
|
29070
27774
|
|
|
29071
27775
|
declare const StylisticConfigDefaults: StylisticConfig;
|
|
29072
27776
|
declare function stylistic(options?: StylisticConfig): Promise<Array<TypedFlatConfigItem>>;
|
|
@@ -29206,4 +27910,4 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
|
29206
27910
|
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
29207
27911
|
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): any;
|
|
29208
27912
|
|
|
29209
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML, type OptionsComponentExtensions, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type
|
|
27913
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML, type OptionsComponentExtensions, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type ReactConfig, type ResolvedOptions, type Rules, type SpellCheckConfig, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, style as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, jsdoc, jsonc, markdown, parserPlain, perfectionist, prettier, promise, react, renamePluginInConfigs, renameRules, resolveSubOptions, roblox, shopify, sonarjs, sortPackageJson, sortTsconfig, spelling, style, stylistic, toArray, toml, typescript, unicorn, yaml };
|