@yamato-daiwa/style_guides
v0.3.2
Published
The guidelines for ESLint, Pug and Stylus.
Downloads
48
Maintainers
Readme
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 -E
Usage
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/**" ]
}