0.0.1-beta.2 • Published 6 months ago
@tuya-sat/eslint-config-volcano v0.0.1-beta.2
eslint-config-volcano
ESLint configuration for OS SaaS TypeScript projects
This the base ESLint configuration I use in personal TypeScript projects, as an installable npm
package:
✔ Extends the popular
✔ Uses Prettier for code formatting
Usage
- Install the package and its minimum required peer dependencies:
yarn add -D @tuya-fe/eslint-config-volcano@latest
- Extend this package in your ESLint configuration:
{
"extends": "volcano"
}
⚠️ If you use a TS configuration file other than the default (tsconfig.json
under the project's root), you need to specify its path:
{
"parserOptions": {
"project": "ts/tsconfig.dev.json"
}
}
👉 For the best linting experience, we suggest including the settings specified in tsconfig.json
in your project's TS configuration.
0.0.1-beta.2
6 months ago