Skip to content

fllstx/prettier-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

prettier-config

Shared Prettier configuration for usage within the fullstax Gmbh & CO. KG.

Install

npm install --save-dev @fullstax/prettier-config

Usage

Please choose ONE of the following options:

package.json

{
  "name": "…",
  "version": "…",
  "prettier": "@fullstax/prettier-config"
}

.prettierrc.js

This option is useful, if you want to overwrite the common config with a project-specific one.

module.exports = {
  ...require("@fullstax/prettier-config"),
  "printWidth": 80,
};

vscode

settings.json

{
	"editor.defaultFormatter": "esbenp.prettier-vscode",
	"editor.formatOnSave": true,
	"editor.detectIndentation": true,
	"editor.insertSpaces": false,
	"editor.tabSize": 2,
	"editor.wordWrapColumn": 100,
	"editor.selectionClipboard": false,
	"markdownlint.config": {
		"line-length": false,
		"no-duplicate-heading": false,
		"no-hard-tabs": false
	},
	"[javascript]": {
		"editor.formatOnSave": true
	},
	"[json]": {
		"editor.formatOnSave": true,
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"[html]": {
		"editor.formatOnSave": true,
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
}

About

πŸ’„ Shared Prettier configuration

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors