Yamato Daiwa Style Guides

The strict style guides for the high quality development with TypeScript and Pug.
Includes:
Installation
npm i @yamato-daiwa/style_guides -D -EUsage
Extending of ESLint preset
CommonJS
const YamatoDaiwaStyleGuides = require("@yamato-daiwa/style_guides/ECMAScript");
module.exports = [
...YamatoDaiwaStyleGuides
];ES Modules
import YamatoDaiwaStyleGuides from "@yamato-daiwa/style_guides/ECMAScript";
export default [
...YamatoDaiwaStyleGuides
];Extending of pug-lint preset
For the .pug-lintrc case, it will be:
{
"extends": "./node_modules/@yamato-daiwa/style_guides/Markup.js"
}Depending on the project building tool, the excluding of node_modules may require.
{
"extends": "./node_modules/@yamato-daiwa/style_guides/Markup.js",
"excludeFiles": [ "node_modules/**" ]
}