Timo Hocker
8f1cfc34ab
Revert "add typescript plugin"
This reverts commit 97c404189b92740843a5c5138a531578b2e8d00e.
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-config 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'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018
}
}
after that you can run eslint.
Description
Languages
JavaScript
100%