Timo Hocker
67f98e5c60
update-scanner: automatic update
@typescript-eslint/eslint-plugin: 2.31.0 ==> 2.33.0 minor @typescript-eslint/parser: 2.31.0 ==> 2.33.0 minor eslint: 6.8.0 ==> 7.0.0 major
Sapphirecode ESLint configuration
Javascript coding standard used by Sapphirecode
Installation
to install this module you have to add the following line to your .npmrc
@scode:registry=https://npm.scode.ovh
then install the module and eslint
npm i --save-dev @scode/eslint-ts eslint
then create a file named .eslintrc.js with the following contents.
it is a basic configuration, it can be customized to your preferences.
module.exports = {
env: {
commonjs: true,
es6: true,
node: true
},
extends: [
'@scode/eslint-ts'
]
}
after that you can run eslint.
Description
Languages
JavaScript
100%