| Project | Package | Version | Links |
|---|---|---|---|
| eslint-config-react | @socialgouv/eslint-config-react |
||
| eslint-config-recommended | @socialgouv/eslint-config-reco |
||
| eslint-config-typescript | @socialgouv/eslint-config-typescript |
Each linter has its own REAME (see links above).
As described in eslint-config-recommended README, you can install the config with :
$ npm install -D @socialgouv/eslint-config-recommended eslint prettier
# or
$ yarn add -D @socialgouv/eslint-config-recommended eslint prettierYou can either:
-
add this to your
.eslintrc.ymlfile:extends: - "@socialgouv/eslint-config-recommended"
-
or add this to your
.eslintrc.jsonfile:{ "extends": ["@socialgouv/eslint-config-recommended"] } -
or add this to your
package.jsonfile:{ "eslintConfig": { "extends": ["@socialgouv/eslint-config-recommended"] } }
And enjoy it!
Trigger a custom build on Travis (in the "More options" right menu) on the master branch with a custom config:
env:
global:
- RELEASE=trueYou need an Github token to release.
#
# Bump, push to git and publish to npm
$ yarn lerna publish
#
# Publish the tag change log on the Github Release
$ CONVENTIONAL_GITHUB_RELEASER_TOKEN==************ npx conventional-github-releaser -p angular
#
# You might want to add a Gif to your release to make it groovy ;)