6af4605bd0
- Implement attachment preview - Implement attachment-box redesign - Make filename editable - Use new reindex icon - Update attachment note layout - Fix reader.js eslint errors - Add fallback attachment icon and use redesign - Use attachment preview for regular items - Fix pinned pane not exists error - Double click preview to open to page - Fix itemPane pin bug - Preload preview iframe - Fix item pane scroll - Add media preview support - Fix item pane scroll bar on macos - Fix reader sidebar with standalone attachment - Fix attributeChangedCallback - Add attachmentBox _updateAttachmentIDs - Make attachment notes readonly and simplify note window script - Implement convert attachment note to new note - Support preview dragging - Annotations box redesign - Support custom buttons in the collapsible-section - Add preview toggle button - Fix collapsible section attribute listener - Make attachment box notify sync to fix errors in test
61 lines
1.1 KiB
Text
61 lines
1.1 KiB
Text
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"Zotero": false,
|
|
"ZOTERO_CONFIG": false,
|
|
"AddonManager": false,
|
|
"Cc": false,
|
|
"Ci": false,
|
|
"ChromeUtils": false,
|
|
"Components": false,
|
|
"ConcurrentCaller": false,
|
|
"ctypes": false,
|
|
"OS": false,
|
|
"MozXULElement": false,
|
|
"PluralForm": false,
|
|
"Services": false,
|
|
"XPCOMUtils": false,
|
|
"XRegExp": false,
|
|
"XULElement": false,
|
|
"XULElementBase": false,
|
|
"Cu": false,
|
|
"ChromeWorker": false,
|
|
"Localization": false,
|
|
"L10nFileSource": false,
|
|
"L10nRegistry": false,
|
|
"ZoteroPane_Local": false,
|
|
"ZoteroPane": false,
|
|
"Zotero_Tabs": false,
|
|
"ZoteroItemPane": false,
|
|
"IOUtils": false,
|
|
"NetUtil": false,
|
|
"FileUtils": false,
|
|
"globalThis": false
|
|
},
|
|
"extends": [
|
|
"@zotero",
|
|
"plugin:react/recommended"
|
|
],
|
|
"parser": "@babel/eslint-parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"@babel"
|
|
],
|
|
"settings": {
|
|
"react": {
|
|
"version": "17.0"
|
|
}
|
|
},
|
|
"rules": {}
|
|
}
|