5.0.0 • Published 5 years ago
eslint-config-kholoddev v5.0.0
Eslint config
Contains configs:
- JavaScript
- TypeScript
Requirements
Node.js version >= 12.*
If you use TypeScript:
// example tsconfig.json
{
"compilerOptions": {
"sourceMap": true,
"outDir": "dist",
"noImplicitAny": true,
"module": "es6",
"target": "es6",
"strict": true,
"resolveJsonModule": true,
"esModuleInterop": true,
},
"include": ["**/*.ts"],
"exclude": [],
}Install
$ npm i -D eslint babel-eslint typescript @typescript-eslint/parser @typescript-eslint/eslint-pluginNPM-script package.json
{
"scripts": {
"eslint": "eslint src"
}
}.eslintrc
{
"extends": ["eslint-config-kholoddev"]
}