eslint-ts/.eslintrc.js

39 lines
810 B
JavaScript
Raw Normal View History

2020-04-06 11:56:05 +02:00
/*
* Copyright (C) Sapphirecode - All Rights Reserved
2020-05-17 19:07:23 +02:00
* This file is part of eslint-config-ts which is released under MIT.
2020-04-06 11:56:05 +02:00
* See file 'LICENSE' for full license details.
2020-05-17 19:07:23 +02:00
* Created by Timo Hocker <timo@scode.ovh>, May 2020
2020-04-06 11:56:05 +02:00
*/
module.exports = {
env: {
es6: true,
node: true
},
extends: [
'standard'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
rules: {
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:57:16 +02:00
semi: 'off',
curly: 'off',
strict: 'off',
2020-04-06 11:56:05 +02:00
'brace-style': 'off',
'no-magic-numbers': 'off'
}
}