2019-01-02 04:24:12 -06:00
|
|
|
/////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
|
|
|
// Copyright (C) 2013 - 2019, The pgAdmin Development Team
|
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
2017-06-12 10:55:14 -05:00
|
|
|
module.exports = {
|
|
|
|
'env': {
|
|
|
|
'browser': true,
|
|
|
|
'es6': true,
|
|
|
|
'amd': true,
|
|
|
|
'jasmine': true,
|
|
|
|
},
|
2019-04-05 02:37:43 -05:00
|
|
|
'extends': [
|
|
|
|
'eslint:recommended',
|
|
|
|
],
|
2017-06-12 10:55:14 -05:00
|
|
|
'parserOptions': {
|
2019-03-14 10:11:16 -05:00
|
|
|
'ecmaVersion': 2018,
|
|
|
|
'sourceType': 'module',
|
2017-06-12 10:55:14 -05:00
|
|
|
},
|
|
|
|
'plugins': [
|
|
|
|
],
|
|
|
|
'globals': {
|
|
|
|
'_': true,
|
|
|
|
'module': true,
|
|
|
|
},
|
|
|
|
'rules': {
|
|
|
|
'indent': [
|
|
|
|
'error',
|
|
|
|
2
|
|
|
|
],
|
2017-11-23 03:34:44 -06:00
|
|
|
'linebreak-style': 0,
|
2017-06-12 10:55:14 -05:00
|
|
|
'quotes': [
|
|
|
|
'error',
|
|
|
|
'single'
|
|
|
|
],
|
|
|
|
'semi': [
|
|
|
|
'error',
|
|
|
|
'always'
|
|
|
|
],
|
|
|
|
'comma-dangle': [
|
|
|
|
'error',
|
|
|
|
'always-multiline'
|
2017-06-13 03:50:41 -05:00
|
|
|
],
|
2017-10-24 06:26:17 -05:00
|
|
|
'no-console': ["error", { allow: ["warn", "error"] }],
|
2019-04-05 02:37:43 -05:00
|
|
|
// We need to exclude below for RegEx case
|
|
|
|
"no-useless-escape": 0,
|
2017-10-24 06:26:17 -05:00
|
|
|
},
|
|
|
|
};
|