@smarteye/eslint-config
v0.5.0
Published
ESLint configuration to be shared smarteye.id repositories.
Readme
@smarteye/eslint-config
ESLint preset to be shared accross smarteye.id repositories.
Usage
Install:
$ npm i -D @smarteye/eslint-config
or
$ yarn add -D @smarteye/eslint-configUpdate package.json:
"eslintConfig": {
"extends": [
"@smarteye/eslint-config", // base, required
"@smarteye/eslint-config/js", // Only if use Javascript
"@smarteye/eslint-config/next", // if use Next
"@smarteye/eslint-config/ts" // if use Typescript
],
// Input tsconfig here, if any
"parserOptions": {
"project": "./tsconfig.json"
}
}