2020-02-04 14:21:47 +01:00
2019-12-13 12:25:10 +01:00
2019-12-13 12:25:10 +01:00
2019-12-13 12:25:10 +01:00
fix
2020-02-04 14:21:47 +01:00
2019-12-20 13:27:02 +01:00
2020-01-22 08:13:54 +01:00
2020-01-17 13:15:10 +01:00
fix
2020-01-30 11:23:40 +01:00
2020-01-30 11:19:28 +01:00
2020-01-18 22:37:39 +01: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'
  ],
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly'
  },
  parserOptions: {
    ecmaVersion: 2018
  }
}

after that you can run eslint.

Description
No description provided
Readme 1.4 MiB
Languages
JavaScript 100%