2019-12-15 19:37:10 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
|
|
|
* This file is part of SCode-Eslint-Config which is released under BSD-3-Clause.
|
|
|
|
* See file 'LICENSE' for full license details.
|
2020-05-06 07:33:00 +02:00
|
|
|
* Created by Timo Hocker <timo@sapphirecode.ovh>, March 2020
|
2019-12-15 19:37:10 +01:00
|
|
|
*/
|
|
|
|
|
2019-12-13 12:25:10 +01:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
es6: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'standard'
|
|
|
|
],
|
|
|
|
globals: {
|
|
|
|
Atomics: 'readonly',
|
|
|
|
SharedArrayBuffer: 'readonly'
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2018,
|
|
|
|
sourceType: 'module'
|
|
|
|
},
|
|
|
|
rules: {
|
2019-12-15 19:37:10 +01:00
|
|
|
camelcase: 'off',
|
|
|
|
'sort-keys': 'off',
|
|
|
|
'lines-around-comment': 'off',
|
|
|
|
'array-element-newline': 'off',
|
|
|
|
'array-bracket-newline': 'off',
|
|
|
|
'max-len': 'off',
|
|
|
|
'func-call-spacing': 'off',
|
|
|
|
'semi': 'off',
|
|
|
|
'curly': 'off',
|
|
|
|
'strict': 'off',
|
|
|
|
'brace-style': 'off',
|
|
|
|
'no-magic-numbers': 'off'
|
2019-12-13 12:25:10 +01:00
|
|
|
}
|
|
|
|
}
|