Read our style guide
$ yarn add @shelf/eslint-config --dev
{
"extends": ["@shelf/eslint-config/typescript"]
}
{
"extends": ["@shelf/eslint-config/frontend"],
"settings": {
"react": {
"version": "16.7.0"
}
},
"rules": {
"react/prop-types": "warn"
}
}
{
"extends": ["@shelf/eslint-config/frontend-typescript"],
"settings": {
"react": {
"version": "16.7.0"
}
},
"rules": {
"react/prop-types": "warn"
}
}
{
"extends": ["@shelf/eslint-config/frontend-vue"],
"rules": {
"no-unused-vars": ["error", {"vars": "all", "argsIgnorePattern": "^h$"}]
}
}
{
"extends": ["@shelf/eslint-config/frontend-typescript-vue"],
"rules": {
"@typescript-eslint/no-unused-vars": ["error", {"vars": "all", "argsIgnorePattern": "^h$"}]
}
}
$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tags
MIT © Shelf