@greenatom/dotfiles

0.0.19 • Public • Published

@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"
  ]
}

Dependencies (19)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @greenatom/dotfiles

    Weekly Downloads

    1

    Version

    0.0.19

    License

    MIT

    Unpacked Size

    11.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • makkoveev.s
    • todditg
    • mildgravy0
    • real001
    • avmer
    • greenatom_arctica