UNPKG

k2hr3-api

Version:

K2HR3 REST API is K2hdkc based Resource and Roles and policy Rules

69 lines (64 loc) 1.73 kB
/* * K2HR3 REST API * * Copyright 2017 Yahoo Japan Corporation. * * K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers * common management information for the cloud. * K2HR3 can dynamically manage information as "who", "what", "operate". * These are stored as roles, resources, policies in K2hdkc, and the * client system can dynamically read and modify these information. * * For the full copyright and license information, please view * the license file that was distributed with this source code. * * AUTHOR: Takeshi Nakatani * CREATE: Fri, Feb 14 2025 * REVISION: * */ // // [NOTE] // This file is the old .eslintrc.js file converted by @eslint/migrate-config. // import globals from "globals"; import path from "node:path"; import { fileURLToPath } from "node:url"; import js from "@eslint/js"; import { FlatCompat } from "@eslint/eslintrc"; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const compat = new FlatCompat({ baseDirectory: __dirname, recommendedConfig: js.configs.recommended, allConfig: js.configs.all }); export default [...compat.extends("eslint:recommended"), { languageOptions: { globals: { ...globals.node, ...globals.browser, ...globals.commonjs, }, ecmaVersion: 2017, sourceType: "commonjs", }, files: ["**/*.js", "**/*.ts", "**/www", "**/watcher"], rules: { indent: ["error", "tab", { SwitchCase: 1, }], "no-console": 0, "linebreak-style": ["error", "unix"], quotes: ["error", "single"], semi: ["error", "always"], }, }]; /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim600: noexpandtab sw=4 ts=4 fdm=marker * vim<600: noexpandtab sw=4 ts=4 */