mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
30 lines
604 B
JavaScript
30 lines
604 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
commonjs: true,
|
|
es6: true,
|
|
jquery: false,
|
|
jest: true,
|
|
jasmine: true,
|
|
},
|
|
extends: 'eslint:recommended',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 8,
|
|
ecmaFeatures: {
|
|
experimentalObjectRestSpread: true,
|
|
},
|
|
},
|
|
rules: {
|
|
indent: ['error', 2],
|
|
quotes: ['warn', 'single'],
|
|
semi: ['error', 'always'],
|
|
'no-var': ['error'],
|
|
'no-console': ['off'],
|
|
'no-unused-vars': ['warn'],
|
|
'no-mixed-spaces-and-tabs': ['warn'],
|
|
indent: ["error", 2, { "SwitchCase": 1 }]
|
|
},
|
|
};
|