0.4.2-alpha.3 • Published 3 years ago
@sincronia/prettier-plugin v0.4.2-alpha.3
@sincronia/prettier-plugin
Overview
This plugin allows you to run Prettier on all supported file types. Supports .prettierrc
files.
Installation
npm i -D @sincronia/prettier-plugin
Options
This plugin takes the exact same options as .prettierrc.
Order of Configurations
- Check for
.prettierrc
file and load those options - Load from
sinc.config.js
options and override any overlapping values.
Example Usage
This example takes .js
files and prettifies them.
//sinc.config.js
module.exports={
rules:{
match:/\.js$/,
plugins:[
name:"@sincronia/prettier-plugin",
//Prettier options
options:{
//sets tabs to be 2 spaces
tabWidth:2,
//append semicolons to ends of lines
semi:true
}
]
}
};
You could also create a .prettierrc
file with those same options in your project and it would respect those values.
0.4.2-alpha.3
3 years ago
0.4.2-alpha.2
3 years ago
0.4.2-alpha.0
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.10-alpha.2
4 years ago
0.3.10-alpha.1
4 years ago
0.3.10-alpha.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.4-alpha.0
5 years ago
0.0.3
5 years ago
0.1.1
5 years ago