1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

JS-1018: linter fixes

This commit is contained in:
Andrew Simachev 2022-12-19 16:38:19 +03:00
parent 04f2c1c628
commit db30c13671
7 changed files with 28207 additions and 28180 deletions

View file

@ -1,4 +1,4 @@
{
module.exports = {
"env": {
"browser": true,
"es2021": true
@ -24,5 +24,10 @@
"semicolon": 0,
"jsx-no-lambda": 0,
"jsx-no-multiline-js": 0
},
"settings": {
"react": {
"version": "detect"
}
}
}

56355
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -167,6 +167,7 @@
"source-map-loader": "^0.2.4",
"sprintf-kit": "^2.0.0",
"typescript": "^3.9.7",
"typescript-eslint": "^0.0.1-alpha.0",
"xhr2": "^0.2.0",
"xmlhttprequest": "^1.8.0",
"xtend": "^4.0.2"
@ -185,7 +186,9 @@
{
"name": "Anytype",
"role": "Editor",
"schemes": ["anytype"]
"schemes": [
"anytype"
]
}
],
"asarUnpack": [
@ -511,7 +514,10 @@
"entitlementsInherit": "electron/entitlements.mac.plist",
"target": {
"target": "default",
"arch": ["x64", "arm64"]
"arch": [
"x64",
"arm64"
]
},
"identity": "6SFR4648FW",
"category": "public.app-category.productivity",
@ -549,7 +555,12 @@
"linux": {
"icon": "electron/img/icon512x512.png",
"category": "Utility",
"target": ["snap", "AppImage", "deb", "rpm"],
"target": [
"snap",
"AppImage",
"deb",
"rpm"
],
"description": "Anytype",
"publish": [
{

View file

@ -95,7 +95,7 @@ const Page = observer(class Page extends React.Component<Props, {}> {
const Component = Components[path];
if (!Component) {
return <div>Page component "{path}" not found</div>;
return <div>Page component &quot;{path}&quot; not found</div>;
};
let sb = (

View file

@ -80,7 +80,7 @@ const PageMainSpace = observer(class PageMainSpace extends React.Component<Props
</div>
) : (
<div className="empty">
This space doesn't have any highlighted objects
This space doesn&apos;t have any highlighted objects
</div>
)}
</div>

View file

@ -131,7 +131,7 @@ const PageMainType = observer(class PageMainType extends React.Component<Props,
</div>
) : (
<div className="empty">
This object type doesn't have templates
This object type doesn&apos;t have templates
</div>
)}
</div>

View file

@ -31,7 +31,7 @@ const PopupSettingsPageDelete = observer(class PopupSettingsPageDelete extends R
<Title text={translate('popupSettingsAccountDeleteTitle')} />
<div className="text">
<b>We're sorry to see you go. Once you request your account to be deleted, you have 30 days to cancel this request.</b>
<b>We&apos;re sorry to see you go. Once you request your account to be deleted, you have 30 days to cancel this request.</b>
<p>You will be logged out on all other devices. You will have 30 days to recover it. Afterwards it will be deleted permanently</p>
<div className="check" onClick={this.onCheck}>