mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-29 12:03:52 -06:00
47 lines
745 B
JavaScript
47 lines
745 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'es6': true,
|
|
'amd': true,
|
|
'jasmine': true,
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
"plugin:react/recommended",
|
|
],
|
|
'parserOptions': {
|
|
'ecmaFeatures': {
|
|
'experimentalObjectRestSpread': true,
|
|
'jsx': true
|
|
},
|
|
'sourceType': 'module'
|
|
},
|
|
'plugins': [
|
|
'react'
|
|
],
|
|
'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"] }],
|
|
},
|
|
};
|