mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
Turn on first two eslint rules (#61104)
* Add typescript-eslint support in DT root .eslintrc.json In preparation for turning on the first two eslint rules * Update English README * Fix eslintrcjson link Thanks Markdown link checker! * Turn on first two eslint rules Disable the rule wherever it was disabled before. * Disable no-const-enum in comments as well
This commit is contained in:
committed by
GitHub
parent
9d262acb1d
commit
19e5a04755
@@ -7,5 +7,7 @@
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"rules": {
|
||||
"no-dead-reference": "error",
|
||||
"no-const-enum": "error"
|
||||
}
|
||||
}
|
||||
|
||||
5
types/activex-access/.eslintrc.json
Normal file
5
types/activex-access/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-adodb/.eslintrc.json
Normal file
5
types/activex-adodb/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-adox/.eslintrc.json
Normal file
5
types/activex-adox/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-dao/.eslintrc.json
Normal file
5
types/activex-dao/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
6
types/activex-diskquota/index.d.ts
vendored
6
types/activex-diskquota/index.d.ts
vendored
@@ -7,7 +7,7 @@
|
||||
/// <reference types="activex-interop" />
|
||||
|
||||
declare namespace DiskQuotaTypeLibrary {
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum AccountStatusConstants {
|
||||
dqAcctDeleted = 2,
|
||||
dqAcctInvalid = 3,
|
||||
@@ -17,14 +17,14 @@ declare namespace DiskQuotaTypeLibrary {
|
||||
dqAcctUnresolved = 5,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum QuotaStateConstants {
|
||||
dqStateDisable = 0,
|
||||
dqStateEnforce = 2,
|
||||
dqStateTrack = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum UserNameResolutionConstants {
|
||||
dqResolveAsync = 2,
|
||||
dqResolveNone = 0,
|
||||
|
||||
5
types/activex-excel/.eslintrc.json
Normal file
5
types/activex-excel/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-faxcomexlib/.eslintrc.json
Normal file
5
types/activex-faxcomexlib/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
42
types/activex-faxcomexlib/index.d.ts
vendored
42
types/activex-faxcomexlib/index.d.ts
vendored
@@ -7,7 +7,7 @@
|
||||
/// <reference types="activex-stdole" />
|
||||
|
||||
declare namespace FAXCOMEXLib {
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_ACCESS_RIGHTS_ENUM {
|
||||
farMANAGE_CONFIG = 64,
|
||||
farMANAGE_IN_ARCHIVE = 256,
|
||||
@@ -22,7 +22,7 @@ declare namespace FAXCOMEXLib {
|
||||
farSUBMIT_NORMAL = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_ACCESS_RIGHTS_ENUM_2 {
|
||||
far2MANAGE_ARCHIVES = 256,
|
||||
far2MANAGE_CONFIG = 64,
|
||||
@@ -36,7 +36,7 @@ declare namespace FAXCOMEXLib {
|
||||
far2SUBMIT_NORMAL = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_ACCOUNT_EVENTS_TYPE_ENUM {
|
||||
faetFXSSVC_ENDED = 16,
|
||||
faetIN_ARCHIVE = 4,
|
||||
@@ -46,21 +46,21 @@ declare namespace FAXCOMEXLib {
|
||||
faetOUT_QUEUE = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_COVERPAGE_TYPE_ENUM {
|
||||
fcptLOCAL = 1,
|
||||
fcptNONE = 0,
|
||||
fcptSERVER = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_DEVICE_RECEIVE_MODE_ENUM {
|
||||
fdrmAUTO_ANSWER = 1,
|
||||
fdrmMANUAL_ANSWER = 2,
|
||||
fdrmNO_ANSWER = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_GROUP_STATUS_ENUM {
|
||||
fgsALL_DEV_NOT_VALID = 2,
|
||||
fgsALL_DEV_VALID = 0,
|
||||
@@ -68,7 +68,7 @@ declare namespace FAXCOMEXLib {
|
||||
fgsSOME_DEV_NOT_VALID = 3,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_JOB_EXTENDED_STATUS_ENUM {
|
||||
fjesANSWERED = 5,
|
||||
fjesBAD_ADDRESS = 10,
|
||||
@@ -93,7 +93,7 @@ declare namespace FAXCOMEXLib {
|
||||
fjesTRANSMITTING = 4,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_JOB_OPERATIONS_ENUM {
|
||||
fjoDELETE = 16,
|
||||
fjoPAUSE = 2,
|
||||
@@ -104,7 +104,7 @@ declare namespace FAXCOMEXLib {
|
||||
fjoVIEW = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_JOB_STATUS_ENUM {
|
||||
fjsCANCELED = 512,
|
||||
fjsCANCELING = 1024,
|
||||
@@ -119,14 +119,14 @@ declare namespace FAXCOMEXLib {
|
||||
fjsROUTING = 2048,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_JOB_TYPE_ENUM {
|
||||
fjtRECEIVE = 1,
|
||||
fjtROUTING = 2,
|
||||
fjtSEND = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_LOG_LEVEL_ENUM {
|
||||
fllMAX = 3,
|
||||
fllMED = 2,
|
||||
@@ -134,14 +134,14 @@ declare namespace FAXCOMEXLib {
|
||||
fllNONE = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_PRIORITY_TYPE_ENUM {
|
||||
fptHIGH = 2,
|
||||
fptLOW = 0,
|
||||
fptNORMAL = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_PROVIDER_STATUS_ENUM {
|
||||
fpsBAD_GUID = 2,
|
||||
fpsBAD_VERSION = 3,
|
||||
@@ -152,19 +152,19 @@ declare namespace FAXCOMEXLib {
|
||||
fpsSUCCESS = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_RECEIPT_TYPE_ENUM {
|
||||
frtMAIL = 1,
|
||||
frtMSGBOX = 4,
|
||||
frtNONE = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_ROUTING_RULE_CODE_ENUM {
|
||||
frrcANY_CODE = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_RULE_STATUS_ENUM {
|
||||
frsALL_GROUP_DEV_NOT_VALID = 2,
|
||||
frsBAD_DEVICE = 4,
|
||||
@@ -173,14 +173,14 @@ declare namespace FAXCOMEXLib {
|
||||
frsVALID = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_SCHEDULE_TYPE_ENUM {
|
||||
fstDISCOUNT_PERIOD = 2,
|
||||
fstNOW = 0,
|
||||
fstSPECIFIC_TIME = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_SERVER_APIVERSION_ENUM {
|
||||
fsAPI_VERSION_0 = 0,
|
||||
fsAPI_VERSION_1 = 65536,
|
||||
@@ -188,7 +188,7 @@ declare namespace FAXCOMEXLib {
|
||||
fsAPI_VERSION_3 = 196608,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_SERVER_EVENTS_TYPE_ENUM {
|
||||
fsetACTIVITY = 8,
|
||||
fsetCONFIG = 4,
|
||||
@@ -203,14 +203,14 @@ declare namespace FAXCOMEXLib {
|
||||
fsetQUEUE_STATE = 16,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FAX_SMTP_AUTHENTICATION_TYPE_ENUM {
|
||||
fsatANONYMOUS = 0,
|
||||
fsatBASIC = 1,
|
||||
fsatNTLM = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FaxConstants {
|
||||
bstrGROUPNAME_ALLDEVICES = '<All Devices>',
|
||||
lDEFAULT_PREFETCH_SIZE = 100,
|
||||
|
||||
5
types/activex-infopath/.eslintrc.json
Normal file
5
types/activex-infopath/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-iwshruntimelibrary/.eslintrc.json
Normal file
5
types/activex-iwshruntimelibrary/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-libreoffice/.eslintrc.json
Normal file
5
types/activex-libreoffice/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-msforms/.eslintrc.json
Normal file
5
types/activex-msforms/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-mshtml/.eslintrc.json
Normal file
5
types/activex-mshtml/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-msxml2/.eslintrc.json
Normal file
5
types/activex-msxml2/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-office/.eslintrc.json
Normal file
5
types/activex-office/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-outlook/.eslintrc.json
Normal file
5
types/activex-outlook/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-powerpoint/.eslintrc.json
Normal file
5
types/activex-powerpoint/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
14
types/activex-scripting/index.d.ts
vendored
14
types/activex-scripting/index.d.ts
vendored
@@ -7,14 +7,14 @@
|
||||
/// <reference types="activex-interop" />
|
||||
|
||||
declare namespace Scripting {
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum CompareMethod {
|
||||
BinaryCompare = 0,
|
||||
DatabaseCompare = 2,
|
||||
TextCompare = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum DriveTypeConst {
|
||||
CDRom = 4,
|
||||
Fixed = 2,
|
||||
@@ -24,7 +24,7 @@ declare namespace Scripting {
|
||||
UnknownType = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FileAttribute {
|
||||
Alias = 1024,
|
||||
Archive = 32,
|
||||
@@ -37,28 +37,28 @@ declare namespace Scripting {
|
||||
Volume = 8,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum IOMode {
|
||||
ForAppending = 8,
|
||||
ForReading = 1,
|
||||
ForWriting = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum SpecialFolderConst {
|
||||
SystemFolder = 1,
|
||||
TemporaryFolder = 2,
|
||||
WindowsFolder = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum StandardStreamTypes {
|
||||
StdErr = 2,
|
||||
StdIn = 0,
|
||||
StdOut = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum Tristate {
|
||||
TristateFalse = 0,
|
||||
TristateMixed = -2,
|
||||
|
||||
24
types/activex-shdocvw/index.d.ts
vendored
24
types/activex-shdocvw/index.d.ts
vendored
@@ -7,7 +7,7 @@
|
||||
/// <reference types="activex-interop" />
|
||||
|
||||
declare namespace SHDocVw {
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum BrowserBarConstants {
|
||||
AddressBar = 0x0009,
|
||||
Tools = 0x000A,
|
||||
@@ -18,7 +18,7 @@ declare namespace SHDocVw {
|
||||
Channels = '{EFA24E63-B078-11D0-89E4-00C04FC9E26E}'
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum BrowserNavConstants {
|
||||
/** Open the resource or file in a new window. */
|
||||
OpenInNewWindow = 1,
|
||||
@@ -80,7 +80,7 @@ declare namespace SHDocVw {
|
||||
}
|
||||
|
||||
/** Constants for WebBrowser CommandStateChange */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum CommandStateChangeConstants {
|
||||
CSC_NAVIGATEBACK = 2,
|
||||
CSC_NAVIGATEFORWARD = 1,
|
||||
@@ -88,12 +88,12 @@ declare namespace SHDocVw {
|
||||
}
|
||||
|
||||
/** Constants for WebBrowser NewProcess notification */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum NewProcessCauseConstants {
|
||||
ProtectedModeRedirect = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum OLECMDEXECOPT {
|
||||
OLECMDEXECOPT_DODEFAULT = 0,
|
||||
OLECMDEXECOPT_DONTPROMPTUSER = 2,
|
||||
@@ -101,7 +101,7 @@ declare namespace SHDocVw {
|
||||
OLECMDEXECOPT_SHOWHELP = 3,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum OLECMDF {
|
||||
OLECMDF_DEFHIDEONCTXTMENU = 32,
|
||||
OLECMDF_ENABLED = 2,
|
||||
@@ -111,7 +111,7 @@ declare namespace SHDocVw {
|
||||
OLECMDF_SUPPORTED = 1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum OLECMDID {
|
||||
OLECMDID_ACTIVEXINSTALLSCOPE = 66,
|
||||
OLECMDID_ADDTRAVELENTRY = 60,
|
||||
@@ -198,7 +198,7 @@ declare namespace SHDocVw {
|
||||
OLECMDID_ZOOM = 19,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum RefreshConstants {
|
||||
Normal = 0,
|
||||
IfExpired = 1,
|
||||
@@ -206,7 +206,7 @@ declare namespace SHDocVw {
|
||||
}
|
||||
|
||||
/** Constants for WebBrowser security icon notification */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum SecureLockIconConstants {
|
||||
secureLockIconMixed = 1,
|
||||
secureLockIconSecure128Bit = 6,
|
||||
@@ -218,7 +218,7 @@ declare namespace SHDocVw {
|
||||
}
|
||||
|
||||
/** Options for ShellWindows FindWindow */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellWindowFindWindowOptions {
|
||||
SWFO_COOKIEPASSED = 4,
|
||||
SWFO_INCLUDEPENDING = 2,
|
||||
@@ -226,7 +226,7 @@ declare namespace SHDocVw {
|
||||
}
|
||||
|
||||
/** Constants for ShellWindows registration */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellWindowTypeConstants {
|
||||
SWC_3RDPARTY = 2,
|
||||
SWC_BROWSER = 1,
|
||||
@@ -235,7 +235,7 @@ declare namespace SHDocVw {
|
||||
SWC_EXPLORER = 0,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum tagREADYSTATE {
|
||||
READYSTATE_COMPLETE = 4,
|
||||
READYSTATE_INTERACTIVE = 3,
|
||||
|
||||
28
types/activex-shell/index.d.ts
vendored
28
types/activex-shell/index.d.ts
vendored
@@ -7,7 +7,7 @@
|
||||
/// <reference types="activex-shdocvw" />
|
||||
|
||||
declare namespace Shell32 {
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum BrowseInfoFlags {
|
||||
/**
|
||||
* Allow folder junctions such as a library or a compressed file with a .zip file name extension to be browsed.
|
||||
@@ -128,7 +128,7 @@ declare namespace Shell32 {
|
||||
BIF_VALIDATE = 0x00000020,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ExplorerBarCLSID {
|
||||
Favorites = '{EFA24E61-B078-11d0-89E4-00C04FC9E26E}',
|
||||
Folders = '{EFA24E64-B078-11d0-89E4-00C04FC9E26E}',
|
||||
@@ -136,7 +136,7 @@ declare namespace Shell32 {
|
||||
Search = '{30D02401-6A81-11d0-8274-00C04FD5AE38}',
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FileOperationFlag {
|
||||
/** Preserve undo information, if possible. */
|
||||
FOF_ALLOWUNDO = 64,
|
||||
@@ -180,7 +180,7 @@ declare namespace Shell32 {
|
||||
FOF_SIMPLEPROGRESS = 256,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FileSystemDetails {
|
||||
Name = 0,
|
||||
Size = 1,
|
||||
@@ -190,7 +190,7 @@ declare namespace Shell32 {
|
||||
InfoTip = -1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum HotkeyModifiers {
|
||||
SHIFT = 1,
|
||||
CTRL = 2,
|
||||
@@ -198,7 +198,7 @@ declare namespace Shell32 {
|
||||
Extended = 8
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum LinkShowWindowState {
|
||||
/** Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. */
|
||||
Normal = 1,
|
||||
@@ -211,7 +211,7 @@ declare namespace Shell32 {
|
||||
}
|
||||
|
||||
/** Constants for Folder2.OfflineStatus */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum OfflineFolderStatus {
|
||||
OFS_DIRTYCACHE = 3,
|
||||
OFS_INACTIVE = -1,
|
||||
@@ -220,7 +220,7 @@ declare namespace Shell32 {
|
||||
OFS_SERVERBACK = 2,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellFolderEnumerationFlags {
|
||||
/** **Windows 7 and later** The calling application is checking for the existence of child items in the folder. */
|
||||
SHCONTF_CHECKING_FOR_CHILDREN = 0x00010,
|
||||
@@ -265,7 +265,7 @@ declare namespace Shell32 {
|
||||
SHCONTF_INCLUDESUPERHIDDEN = 0x10000,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellFolderViewOptions {
|
||||
/** The **Show All Files** option is enabled. */
|
||||
SFVVO_SHOWALLOBJECTS = 0x00000001,
|
||||
@@ -289,7 +289,7 @@ declare namespace Shell32 {
|
||||
SFVVO_DESKTOPHTML = 0x00000200
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellFolderViewSelectItem {
|
||||
Deselect = 0,
|
||||
Select = 1,
|
||||
@@ -299,7 +299,7 @@ declare namespace Shell32 {
|
||||
Focus = 16
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellLinkResolveFlags {
|
||||
/**
|
||||
* Do not display a dialog box if the link cannot be resolved. When this flag is set, the high-order word of _fFlags_ specifies a time-out duration, in milliseconds.
|
||||
@@ -329,7 +329,7 @@ declare namespace Shell32 {
|
||||
InvokeMSI = 128
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum SettingKey {
|
||||
/**
|
||||
* The state of the **Use check boxes to select items** option. This option is enabled automatically when the system has a pen input device configured.
|
||||
@@ -425,7 +425,7 @@ declare namespace Shell32 {
|
||||
SSF_WIN95CLASSIC = 0x00000400,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellExecuteShow {
|
||||
/** Open the application with a hidden window. */
|
||||
Hidden = 0,
|
||||
@@ -453,7 +453,7 @@ declare namespace Shell32 {
|
||||
}
|
||||
|
||||
/** Constants for Special Folders for open/Explore */
|
||||
// tslint:disable-next-line no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum ShellSpecialFolderConstants {
|
||||
ssfALTSTARTUP = 29,
|
||||
ssfAPPDATA = 26,
|
||||
|
||||
5
types/activex-stdole/.eslintrc.json
Normal file
5
types/activex-stdole/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-vbide/.eslintrc.json
Normal file
5
types/activex-vbide/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-wia/.eslintrc.json
Normal file
5
types/activex-wia/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/activex-word/.eslintrc.json
Normal file
5
types/activex-word/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
4
types/big.js/index.d.ts
vendored
4
types/big.js/index.d.ts
vendored
@@ -6,7 +6,7 @@
|
||||
|
||||
export type BigSource = number | string | Big;
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
export const enum Comparison {
|
||||
/**
|
||||
* @deprecated Const enums cannot be used by JavaScript consumers or with single-file transpilation, i.e. isolatedModules
|
||||
@@ -28,7 +28,7 @@ export const enum Comparison {
|
||||
LT = -1,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
export const enum RoundingMode {
|
||||
/**
|
||||
* Rounds towards zero.
|
||||
|
||||
5
types/consumer-data-standards/.eslintrc.json
Normal file
5
types/consumer-data-standards/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/eonasdan-bootstrap-datetimepicker/.eslintrc.json
Normal file
5
types/eonasdan-bootstrap-datetimepicker/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/firmata/.eslintrc.json
Normal file
5
types/firmata/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
4
types/frida-gum/index.d.ts
vendored
4
types/frida-gum/index.d.ts
vendored
@@ -4846,14 +4846,14 @@ declare namespace Java {
|
||||
fieldReturnType: Type;
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum MethodType {
|
||||
Constructor = 1,
|
||||
Static = 2,
|
||||
Instance = 3,
|
||||
}
|
||||
|
||||
// tslint:disable-next-line:no-const-enum
|
||||
// eslint-disable-next-line no-const-enum
|
||||
const enum FieldType {
|
||||
Static = 1,
|
||||
Instance = 2,
|
||||
|
||||
5
types/ftpd/.eslintrc.json
Normal file
5
types/ftpd/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/jquery.qrcode/.eslintrc.json
Normal file
5
types/jquery.qrcode/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/mfiles/.eslintrc.json
Normal file
5
types/mfiles/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/microsoftteams/.eslintrc.json
Normal file
5
types/microsoftteams/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/mysql/.eslintrc.json
Normal file
5
types/mysql/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/nodegit/.eslintrc.json
Normal file
5
types/nodegit/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/novnc-core/.eslintrc.json
Normal file
5
types/novnc-core/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/onesignal-cordova-plugin/.eslintrc.json
Normal file
5
types/onesignal-cordova-plugin/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/openfin/.eslintrc.json
Normal file
5
types/openfin/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/photoshop/.eslintrc.json
Normal file
5
types/photoshop/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/powerbi-visuals-tools/.eslintrc.json
Normal file
5
types/powerbi-visuals-tools/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/sharepoint/.eslintrc.json
Normal file
5
types/sharepoint/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/signalr/.eslintrc.json
Normal file
5
types/signalr/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/webcl/.eslintrc.json
Normal file
5
types/webcl/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/wiiu/.eslintrc.json
Normal file
5
types/wiiu/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/xrm/.eslintrc.json
Normal file
5
types/xrm/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
5
types/youtube/.eslintrc.json
Normal file
5
types/youtube/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-const-enum": "off"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user