Read our style guide
$ yarn add @shelf/eslint-config --dev
import tsConfig from '@shelf/eslint-config/typescript';
export default [...tsConfig];
import feConfig from '@shelf/eslint-config/frontend';
export default [
...feConfig,
{
settings: {
react: {
version: '16.7.0',
},
},
rules: {
"react/prop-types": "warn"
}
}
];
import feTsConfig from '@shelf/eslint-config/frontend-typescript';
export default [
...feTsConfig,
{
settings: {
react: {
version: '16.7.0',
},
},
rules: {
"react/prop-types": "warn"
}
}
];
$ yarn version
$ git push --tags
MIT © Shelf