0.0.19 • Published 1 year ago

@greenatom/dotfiles v0.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@greenatom/dotfiles


Файлы конфигураций для javascript, typescript и стилей на основе styled-components.\ Содержит:\

  • tsconfig
  • prettier-config
  • eslint-config
  • stylelint-config

Установка


npm i -save-dev @greenatom/dotfiles

Использование


  1. Tsconfig. Добавьте в tsconfig.json своего проекта.
{
   "extends": "@greenatom/dotfiles/tsconfig"
}
  1. Eslint. Добавьте в .eslintrc.js или .eslintrc.json.
{
  "extends": ["./node_modules/@greenatom/dotfiles/eslint-config"]
}
  1. Prettier. Используйте в prettier.config.js
module.exports = {
  ...require("@greenatom/dotfiles/prettier-config")
};
  1. Stylelint. Добавьте в styelint.config.js или .stylelintrc.json.
{
  "extends": [
    "@greenatom/dotfiles/stylelint-config"
  ]
}