scode-eslint-config/.eslintrc.js

39 lines
831 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.
2020-05-06 07:33:09 +02:00
* Created by Timo Hocker <timo@sapphirecode.ovh>, March 2020
2020-03-25 17:05:57 +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: {
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',
2020-05-13 20:48:57 +02:00
semi: 'off',
curly: 'off',
strict: 'off',
2020-02-06 12:26:07 +01:00
'brace-style': 'off',
'no-magic-numbers': 'off'
2019-12-13 12:25:10 +01:00
}
}