@tiltshift/config

1.0.6 • Public • Published

👋

Tilt/Shift Config

NOTE Updates to this package are no longer published to NPM. Instead it is meant to be installed as a submodule.

Standard Javascript configuration for Tilt/Shift projects.

Installation

yarn add --dev @tiltshift/config @babel/plugin-syntax-flow @babel/plugin-transform-react-jsx @typescript-eslint/eslint-plugin eslint-plugin-prettier @typescript-eslint/parser eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks babel-eslint eslint-import-resolver-typescript eslint-config-prettier

Usage

In your package.json

{
  "prettier": "@tiltshift/prettier-config"
}

If you wish you extend these settings then in your .prettierrc.js

module.exports = {
  ...require('@tiltshift/prettier-config'),
  semi: false,
}

In your .eslintrc.js:

module.exports = {
  extends: ['./node_modules/@tiltshift/config/eslint.js'],
}

/@tiltshift/config/

    Package Sidebar

    Install

    npm i @tiltshift/config

    Weekly Downloads

    2

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    6.06 kB

    Total Files

    5

    Last publish

    Collaborators

    • chrisdrackett
    • b-rob