eslint-es6/.eslintrc.js

39 lines
831 B
JavaScript
Raw Normal View History

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:32:56 +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',
2020-05-13 20:50:45 +02:00
semi: 'off',
curly: 'off',
strict: 'off',
2019-12-15 19:37:10 +01:00
'brace-style': 'off',
'no-magic-numbers': 'off'
2019-12-13 12:25:10 +01:00
}
}