mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
21 lines
470 B
JavaScript
21 lines
470 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
node: true,
|
|
jest: true,
|
|
},
|
|
parser: 'babel-eslint',
|
|
extends: ['eslint:recommended'],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
rules: {
|
|
'no-undef': ['error'],
|
|
eqeqeq: ['warn', 'smart'],
|
|
'no-unused-vars': 'warn',
|
|
'no-prototype-builtins': 'off',
|
|
'id-length': ['warn', { exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q', 'a', 'b'] }],
|
|
},
|
|
}
|