Prettier shareable configuration
Anolilab Coding Standard for semantic-release.
Daniel Bannert's open source work is supported by the community on GitHub Sponsors
Install
npm install --dev-save @anolilab/prettier-config
Usage
If you don’t have a .prettierrc.cjs
and .prettierignore
, we will create the file for you after installing @anolilab/prettier-config
.
If you already have a .prettierrc.cjs
and .prettierignore
, then you can extend the .prettierrc.cjs
, with @anolilab/prettier-config
.
module.exports = {
"printWidth": 120,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"rangeStart": 0,
"rangeEnd": Infinity,
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf",
"embeddedLanguageFormatting": "auto"
};
Supported Node.js Versions
Libraries in this ecosystem make the best effort to track Node.js’ release schedule. Here’s a post on why we think this is important.
Contributing
If you would like to help take a look at the list of issues and check our Contributing guild.
Note: please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Credits
License
The anolilab javascript-style-guide is open-sourced software licensed under the MIT license