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'],
}