2021-01-29 02:08:27 -06:00
|
|
|
/////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2024-01-01 02:43:48 -06:00
|
|
|
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
|
2021-01-29 02:08:27 -06:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
'env': {
|
|
|
|
'browser': true,
|
|
|
|
'es6': true,
|
|
|
|
'amd': true,
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'eslint:recommended',
|
|
|
|
],
|
|
|
|
'parserOptions': {
|
|
|
|
'ecmaVersion': 2018,
|
|
|
|
"sourceType": "module",
|
|
|
|
},
|
|
|
|
'globals': {
|
|
|
|
'_': true,
|
|
|
|
'module': true,
|
|
|
|
'process': true,
|
|
|
|
'nw': true,
|
|
|
|
'platform': true
|
|
|
|
},
|
|
|
|
'rules': {
|
|
|
|
'indent': [
|
|
|
|
'error',
|
|
|
|
2
|
|
|
|
],
|
|
|
|
'linebreak-style': 0,
|
|
|
|
'quotes': [
|
|
|
|
'error',
|
|
|
|
'single'
|
|
|
|
],
|
|
|
|
'semi': [
|
|
|
|
'error',
|
|
|
|
'always'
|
|
|
|
],
|
|
|
|
'comma-dangle': [
|
|
|
|
'error',
|
|
|
|
'always-multiline'
|
|
|
|
],
|
|
|
|
'no-console': ["error", { allow: ["warn", "error"] }],
|
|
|
|
// We need to exclude below for RegEx case
|
|
|
|
"no-useless-escape": 0,
|
|
|
|
},
|
|
|
|
};
|