mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-11-15 03:47:10 +08:00
ac2653badb
* beta1 * lang * select2 limit 10 * feat: media-capture * be: makeUrl time * fix: AdvFilter 加载所在团队丢失值 * be: 类型评估 * fix: buildUniqueSql and Gitee#I945IK * be: bizz filter * fix: detail copy * be: entity opt support-plat2 * be: javadoc * feat: file: .image/*, .video/* --------- Co-authored-by: devezhao <zhaofang123@gmail.com>
141 lines
2.9 KiB
Java
141 lines
2.9 KiB
Java
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
jquery: true,
|
|
es6: true,
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2016,
|
|
sourceType: 'script',
|
|
},
|
|
parser: 'babel-eslint',
|
|
plugins: ['react'],
|
|
extends: ['eslint:recommended', 'plugin:react/recommended'],
|
|
settings: {
|
|
react: {
|
|
pragma: 'React',
|
|
version: '16.10.2',
|
|
},
|
|
},
|
|
rules: {
|
|
'react/jsx-no-target-blank': 0,
|
|
'react/prop-types': 0,
|
|
'strict': 0,
|
|
'no-redeclare': 0,
|
|
'indent': [2, 2],
|
|
'linebreak-style': [0, 'unix'],
|
|
'quotes': [2, 'single'],
|
|
'semi': [2, 'never'],
|
|
'eqeqeq': [2, 'always'],
|
|
},
|
|
globals: {
|
|
module: true,
|
|
define: true,
|
|
require: true,
|
|
Mprogress: true,
|
|
gridster: true,
|
|
echarts: true,
|
|
qiniu: true,
|
|
React: true,
|
|
ReactDOM: true,
|
|
PropTypes: true,
|
|
RBCOLORS: true,
|
|
RBEMOJIS: true,
|
|
rb: true,
|
|
$setTimeout: true,
|
|
$random: true,
|
|
$regex: true,
|
|
$storage: true,
|
|
$val: true,
|
|
$urlp: true,
|
|
$encode: true,
|
|
$decode: true,
|
|
$fileCutName: true,
|
|
$fileExtName: true,
|
|
$gotoSection: true,
|
|
$createUploader: true,
|
|
$initUploader: true,
|
|
$cleanMenu: true,
|
|
$cleanMap: true,
|
|
$pages: true,
|
|
$same: true,
|
|
$is: true,
|
|
$unmount: true,
|
|
$initReferenceSelect2: true,
|
|
$keepModalOpen: true,
|
|
renderRbcomp: true,
|
|
RbSpinner: true,
|
|
RbAlertBox: true,
|
|
RbModal: true,
|
|
RbModalHandler: true,
|
|
RbForm: true,
|
|
RbFormHandler: true,
|
|
RbFormElement: true,
|
|
LiteForm: true,
|
|
RbList: true,
|
|
RbListCommon: true,
|
|
RbListPage: true,
|
|
RbViewPage: true,
|
|
CellRenders: true,
|
|
AdvFilter: true,
|
|
UserSelector: true,
|
|
UserShow: true,
|
|
DateShow: true,
|
|
DeleteConfirm: true,
|
|
ApprovalProcessor: true,
|
|
RbFormModal: true,
|
|
DlgAssign: true,
|
|
DlgShare: true,
|
|
DlgUnshare: true,
|
|
DlgShareManager: true,
|
|
RbAlert: true,
|
|
RbHighbar: true,
|
|
ApprovalSubmitForm: true,
|
|
ConfigList: true,
|
|
ConfigFormDlg: true,
|
|
RbPreview: true,
|
|
$countdownButton: true,
|
|
Share2: true,
|
|
$stopEvent: true,
|
|
$addResizeHandler: true,
|
|
$empty: true,
|
|
$emptyNum: true,
|
|
$mp: true,
|
|
$converEmoji: true,
|
|
$throttle: true,
|
|
$timechunk: true,
|
|
moment: true,
|
|
$moment: true,
|
|
$expired: true,
|
|
$fromNow: true,
|
|
$toNow: true,
|
|
$L: true,
|
|
$isTrue: true,
|
|
$fieldIsCompatible: true,
|
|
$unhideDropdown: true,
|
|
AnyRecordSelector: true,
|
|
AsideTree: true,
|
|
$useMap: true,
|
|
BaiduMap: true,
|
|
BaiduMapModal: true,
|
|
WrapHtml: true,
|
|
SignPad: true,
|
|
RF: true,
|
|
$select2MatcherAll: true,
|
|
$isFullUrl: true,
|
|
$clone: true,
|
|
$isSysMask: true,
|
|
$escapeHtml: true,
|
|
$isLight: true,
|
|
RbGritter: true,
|
|
$formattedCode: true,
|
|
CodeViewport: true,
|
|
$clipboard: true,
|
|
$getScript: true,
|
|
$sec2Time: true,
|
|
$removeHtml: true,
|
|
$openWindow: true,
|
|
MediaCapturer: true,
|
|
},
|
|
}
|