Skip to content

Instantly share code, notes, and snippets.

View callstack-bot's full-sized avatar

Callstack Community Bot callstack-bot

View GitHub Profile
npm info "eslint-config-airbnb@latest" peerDependencies
yarn add eslint-config-airbnb eslint@^#.#.# eslint-plugin-jsx-a11y@^#.#.# eslint-plugin-import@^#.#.# eslint-plugin-react@^#.#.# <br>--dev
yarn add prettier --dev
"scripts": {
...
"prettier": "prettier — single-quote — trailing-comma all — write "src/**/*.js""
},
yarn add eslint-config-prettier --dev
"extends": [
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react"
],
yarn add flow-bin --dev
"scripts": {
...
"flow": "flow",
},
yarn run flow