Go to file
2020-05-13 16:03:15 +02:00
.eslintignore fix 2020-05-05 19:58:09 +02:00
.eslintrc.js fix 2020-05-06 07:33:09 +02:00
.gitignore revert switch to yarn 2 2020-02-19 10:00:25 +01:00
index.js reduce complexity errors 2020-05-08 13:16:14 +02:00
jenkins.js adapt jenkins.js 2020-05-13 16:03:15 +02:00
Jenkinsfile split into modules 2020-04-06 07:57:58 +02:00
LICENSE fix license 2020-02-08 16:12:05 +01:00
package.json remove jsdoc 2020-05-06 08:25:51 +02:00
README.md fix readme 2020-04-06 08:32:54 +02:00
yarn.lock remove jsdoc 2020-05-06 08:25:51 +02:00

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'
  ]
}

after that you can run eslint.