eslint-ts/README.md
Timo Hocker c3a5819949
All checks were successful
continuous-integration/drone/push Build is passing
union sorting, annotation spacing (1.2)
2021-04-08 09:40:54 +02:00

37 lines
570 B
Markdown

# @sapphirecode/eslint-config-ts
version: 1.2.x
scode eslint configuration for typescript
## Installation
npm:
> npm i --save-dev @sapphirecode/eslint-config-ts
yarn:
> yarn add --dev @sapphirecode/eslint-config-ts
then create a file named .eslintrc.js with the following contents.
it is a basic configuration, it can be customized to your preferences.
```js
module.exports = {
env: {
commonjs: true,
es6: true,
node: true
},
extends: [
'@sapphirecode/eslint-config-ts'
]
}
```
## License
BSD-3-Clause © Timo Hocker <timo@scode.ovh>