5.0.8 • Published 3 years ago
spire-plugin-prettier v5.0.8
spire-plugin-prettier
Hooks
setupAddsformatcommand and prepares prettier arguments.precommitAdds prettier linter.runRuns prettier.
Options
Plugin
['spire-plugin-prettier', options']command\<string> Command to run prettier on. Defaults toformat.prettierConfig\<string> Path to default prettier configuration. Defaults to./config.js.allowCustomConfig\<boolean> Whether to allow user-provided config. If this option isfalseand there's custom prettier config found it will throw an error. Defaults totrue.autosetPrettierConfig\<boolean> Whether to automatically set Prettier config inpackage.jsonon install or not. Defaults totrue. Note: this is essential step for eslint-plugin-prettier and IDE integrations. You can also useprettier.config.jsto re-export & modify target config, although not recommended. Preferprettierprop when possible.prettierIgnore\<string> Path to default.prettierignore. Defaults to.gitignoreallowCustomIgnore\<boolean> Whether to allow user-provided.prettierignore. If this option isfalseand there's custom ignore file found it will throw an error. Defaults totrue.glob\<string> Default glob of files to write. Defaults to**/*.+(js|json|less|css|ts|tsx|md).
CLI
npx spire format [args]- Passes all arguments as-is to jest.
5.0.5
3 years ago
5.0.8
3 years ago
5.0.4
3 years ago
5.0.1
4 years ago
5.0.0
4 years ago
4.1.0
4 years ago
4.0.1
4 years ago
4.0.0
4 years ago
3.2.2
5 years ago
3.0.2
5 years ago
3.0.0
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
1.8.4-next.47
5 years ago
2.0.0
5 years ago
1.8.4-next.49
6 years ago
1.8.4-next.42
6 years ago
1.8.4-next.27
6 years ago
1.8.3
6 years ago
1.8.2
6 years ago
1.8.0
6 years ago
1.7.3
6 years ago
1.7.2
6 years ago
1.7.2-next.1
6 years ago
1.7.1
7 years ago
1.4.1
7 years ago
1.4.0
7 years ago
1.3.0
7 years ago