mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
Fredy 2.0.0 introduces the concept of search jobs. You can now configure multiple of these jobs running in the same instance of Fredy. Also a new API has been created 🎉
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
module.exports = {
|
|
env: {
|
|
commonjs: true,
|
|
es6: true,
|
|
node: true
|
|
},
|
|
extends: 'eslint:recommended',
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
Promise: false,
|
|
describe: true,
|
|
it: true
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2018
|
|
},
|
|
rules: {
|
|
eqeqeq: [2, 'allow-null'],
|
|
|
|
// ###########################################################
|
|
// ### Semantics / Performance impacting
|
|
// ###########################################################
|
|
// babel inserts `'use strict';` for us
|
|
strict: 0,
|
|
|
|
'no-redeclare': [2, { builtinGlobals: false }],
|
|
|
|
// If a class method does not use this, it can safely be made a static function.
|
|
// http://eslint.org/docs/rules/class-methods-use-this
|
|
'class-methods-use-this': ['off'],
|
|
|
|
// ###########################################################
|
|
// ### Style
|
|
// ###########################################################
|
|
indent: ['off', 2],
|
|
'linebreak-style': ['error', 'unix'],
|
|
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
|
|
semi: ['error', 'always'],
|
|
'no-console': ['error', { allow: ['warn', 'error'] }]
|
|
}
|
|
};
|