scode-eslint-config/.eslintrc.js

39 lines
830 B
JavaScript
Raw Normal View History

2020-03-25 17:05:57 +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.
* Created by Timo Hocker <timo@scode.ovh>, March 2020
*/
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: {
2020-02-06 12:26:07 +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
}
}