ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/eslint/lib/shared
/
home
benbot
bot
server
node_modules
eslint
lib
shared
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
ajv.js
931 B
chmod
View
DL
Edit
Rename
Delete
assert.js
524 B
chmod
View
DL
Edit
Rename
Delete
ast-utils.js
897 B
chmod
View
DL
Edit
Rename
Delete
deep-merge-arrays.js
1.54 MB
chmod
View
DL
Edit
Rename
Delete
directives.js
413 B
chmod
View
DL
Edit
Rename
Delete
flags.js
2.66 MB
chmod
View
DL
Edit
Rename
Delete
logging.js
635 B
chmod
View
DL
Edit
Rename
Delete
naming.js
2.88 MB
chmod
View
DL
Edit
Rename
Delete
option-utils.js
1.24 MB
chmod
View
DL
Edit
Rename
Delete
relative-module-resolver.js
1 MB
chmod
View
DL
Edit
Rename
Delete
runtime-info.js
5.02 MB
chmod
View
DL
Edit
Rename
Delete
serialization.js
2.06 MB
chmod
View
DL
Edit
Rename
Delete
severity.js
1.15 MB
chmod
View
DL
Edit
Rename
Delete
stats.js
638 B
chmod
View
DL
Edit
Rename
Delete
string-utils.js
1.51 MB
chmod
View
DL
Edit
Rename
Delete
text-table.js
2.16 MB
chmod
View
DL
Edit
Rename
Delete
translate-cli-options.js
7.36 MB
chmod
View
DL
Edit
Rename
Delete
traverser.js
4.74 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/eslint/lib/shared/flags.js
/** * @fileoverview Shared flags for ESLint. */ "use strict"; //------------------------------------------------------------------------------ // Typedefs //------------------------------------------------------------------------------ /** * @typedef {Object} InactiveFlagData * @property {string} description Flag description * @property {string | null} [replacedBy] Can be either: * - An active flag (string) that enables the same feature. * - `null` if the feature is now enabled by default. * - Omitted if the feature has been abandoned. */ //----------------------------------------------------------------------------- // Exports //----------------------------------------------------------------------------- /** * The set of flags that change ESLint behavior with a description. * @type {Map<string, string>} */ const activeFlags = new Map([ ["test_only", "Used only for testing."], ["test_only_2", "Used only for testing."], [ "v10_config_lookup_from_file", "Look up `eslint.config.js` from the file being linted.", ], [ "unstable_native_nodejs_ts_config", "Use native Node.js to load TypeScript configuration.", ], ]); /** * The set of flags that used to be active. * @type {Map<string, InactiveFlagData>} */ const inactiveFlags = new Map([ [ "test_only_replaced", { description: "Used only for testing flags that have been replaced by other flags.", replacedBy: "test_only", }, ], [ "test_only_enabled_by_default", { description: "Used only for testing flags whose features have been enabled by default.", replacedBy: null, }, ], [ "test_only_abandoned", { description: "Used only for testing flags whose features have been abandoned.", }, ], [ "unstable_ts_config", { description: "Enable TypeScript configuration files.", replacedBy: null, }, ], [ "unstable_config_lookup_from_file", { description: "Look up `eslint.config.js` from the file being linted.", replacedBy: "v10_config_lookup_from_file", }, ], ]); /** * Creates a message that describes the reason the flag is inactive. * @param {InactiveFlagData} inactiveFlagData Data for the inactive flag. * @returns {string} Message describing the reason the flag is inactive. */ function getInactivityReasonMessage({ replacedBy }) { if (typeof replacedBy === "undefined") { return "This feature has been abandoned."; } if (typeof replacedBy === "string") { return `This flag has been renamed '${replacedBy}' to reflect its stabilization. Please use '${replacedBy}' instead.`; } // null return "This feature is now enabled by default."; } module.exports = { activeFlags, inactiveFlags, getInactivityReasonMessage, };
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply