mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 09:16:29 -06:00
53 lines
995 B
JavaScript
53 lines
995 B
JavaScript
/////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2019, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'es6': true,
|
|
'amd': true,
|
|
'jasmine': true,
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
],
|
|
'parserOptions': {
|
|
'ecmaVersion': 2018,
|
|
'sourceType': 'module',
|
|
},
|
|
'plugins': [
|
|
],
|
|
'globals': {
|
|
'_': true,
|
|
'module': 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,
|
|
},
|
|
};
|