@langri-sha/projen-editorconfig
v0.6.0
Published
A [projen] component that you can add to your project to author [EditorConfig] configurations.
Downloads
2
Readme
@langri-sha/editorconfig
A projen component that you can add to your project to author EditorConfig configurations.
Usage
Install dependencies:
npm install -D @langri-sha/editorconfig
Then, create an EditorConfig
component for your projects:
import { Project } from 'projen'
import { EditorConfig } from '@langri-sha/editorconfig'
const project = new Project({
name: 'my-project',
})
new EditorConfig(project, {
'*': {
indent_size: 2,
},
Dockerfile: {
indent_size: 4,
indent_style: 'tab',
},
})