mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 00:16:00 +00:00
icons
This commit is contained in:
29
api/.eslintrc.js
Normal file
29
api/.eslintrc.js
Normal file
@@ -0,0 +1,29 @@
|
||||
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 }]
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user