文件操作 - flags.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/eslint/lib/shared/flags.js
编辑文件内容
/** * @fileoverview Shared flags for ESLint. */ "use strict"; /** * 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."], ["unstable_config_lookup_from_file", "Look up `eslint.config.js` from the file being linted."] ]); /** * The set of flags that used to be active but no longer have an effect. * @type {Map<string, string>} */ const inactiveFlags = new Map([ ["test_only_old", "Used only for testing."], ["unstable_ts_config", "This flag is no longer required to enable TypeScript configuration files."] ]); module.exports = { activeFlags, inactiveFlags };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件