@greenatom/dotfiles
v0.0.19
Published
Configs of linters
Downloads
39
Readme
@greenatom/dotfiles
Файлы конфигураций для javascript, typescript и стилей на основе styled-components.
Содержит:\
- tsconfig
- prettier-config
- eslint-config
- stylelint-config
Установка
npm i -save-dev @greenatom/dotfiles
Использование
- Tsconfig. Добавьте в
tsconfig.json
своего проекта.
{
"extends": "@greenatom/dotfiles/tsconfig"
}
- Eslint. Добавьте в
.eslintrc.js
или.eslintrc.json
.
{
"extends": ["./node_modules/@greenatom/dotfiles/eslint-config"]
}
- Prettier. Используйте в
prettier.config.js
module.exports = {
...require("@greenatom/dotfiles/prettier-config")
};
- Stylelint. Добавьте в
styelint.config.js
или.stylelintrc.json
.
{
"extends": [
"@greenatom/dotfiles/stylelint-config"
]
}