eslint-config-masa
v0.2.0
Published
ESLint configuration for Masa organization
Downloads
77
Readme
eslint-config-masa
TypeScript ESLint config for masa-finance
to install
npx install-peerdeps --dev eslint-config-masa
how to add to repo
- add
.eslintrc
or.eslintrc.json
to your project and copy paste the following config:
{
"root": true,
"extends": ["masa"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js"],
"parser": "@typescript-eslint/parser"
}
]
}
- add
.prettierrc
or.prettierrc.json
to your project root and copy paste the following config:
{
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"endOfLine": "auto",
"overrides": [
{
"files": ["*.json", ".yml", ".yaml"],
"options": {
"tabWidth": 2
}
}
]
}