0.0.4 • Published 4 years ago

@k.sh/config v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Config

A set of common JavaScript-related configs

npm version Node.js CI License: MIT

Installation

  • npm i -D @k.sh/config

Prettier

  • Create a prettier.config.js file
module.exports = require('@k.sh/config/prettier');

ESLint

  • Update .eslintrc.json file
{
  "extends": ["@k.sh/config/eslint"],
  "overrides": [
    {
      "files": ["**/*.ts", "**/*.tsx"],
      "extends": ["@k.sh/config/eslint/typescript"]
    }
  ]
}