eslint-es6/README.md

39 lines
725 B
Markdown

# @sapphirecode/eslint-config-es6
[![Package quality](https://packagequality.com/badge/%40sapphirecode%2Feslint-config-es6)](https://packagequality.com/#?package=%40sapphirecode%2Feslint-config-es6)
version: 1.1.x
scode eslint standard configuration for es6
## Installation
npm:
> npm i --save-dev @sapphirecode/eslint-config-es6
yarn:
> yarn add --dev @sapphirecode/eslint-config-es6
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-es6'
]
}
```
## License
BSD-3-Clause © Timo Hocker