eslint-config-coldsurfers
v1.2.0
Published
eslint config for coldsurfers team.
Downloads
62
Readme
Install
npm i -D eslint-config-coldsurfers # or yarn add --dev eslint-config-coldsurfers
npx install-peerdeps --dev eslint-config-coldsurfers
ESlint Config Setting
.eslintrc
{
"extends": [
"coldsurfers", // for nodejs-typescript, or 'coldsurfers/nodejs-typescript'
"coldsurfers/react-typescript" // for react-typescript
]
}
Basically, extending just coldsurfers
is for nodejs-typescript eslint configuration.
Prettier Config Setting
.prettierrc.json
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}