code-style 2.0.1
Install from the command line:
Learn more about npm packages
$ npm install @bepower/code-style@2.0.1
Install via package.json:
"@bepower/code-style": "2.0.1"
About this version
.eslintrc.js
module.exports = {
extends: ['@bepower/code-style'].map(require.resolve),
parserOptions: {
project: './tsconfig.json',
},
}
.prettierrc
or "prettier"
property inside package.json
"@bepower/code-style/.prettierrc.json"
eslint --fix . --ext .js,.jsx,.ts,.tsx
prettier --write "**/*.{js,json,md,yml}"