Skip to content

Commit 6c5907b

Browse files
authored
Merge pull request #46 from NomarCub/feature/fix-mobile
Feature/fix mobile
2 parents d1dc913 + b7c1258 commit 6c5907b

7 files changed

+1131
-272
lines changed

.eslintrc.json

+51-82
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,52 @@
11
{
2-
"root": true,
3-
"parser": "@typescript-eslint/parser",
4-
"parserOptions": {
5-
"sourceType": "module",
6-
"project": true
7-
},
8-
"env": {
9-
"node": true
10-
},
11-
"plugins": [
12-
"@typescript-eslint",
13-
"@stylistic"
14-
],
15-
"extends": [
16-
"eslint:recommended",
17-
"plugin:@typescript-eslint/eslint-recommended",
18-
"plugin:@typescript-eslint/strict-type-checked",
19-
"plugin:@typescript-eslint/stylistic-type-checked",
20-
"plugin:@stylistic/recommended-extends"
21-
],
22-
"rules": {
23-
"@typescript-eslint/no-non-null-assertion": "off",
24-
"@typescript-eslint/restrict-template-expressions": [
25-
"error",
26-
{
27-
"allowNumber": true
28-
}
29-
],
30-
"@typescript-eslint/prefer-nullish-coalescing": [
31-
"error",
32-
{
33-
"ignoreConditionalTests": true
34-
}
35-
],
36-
"@stylistic/indent": [
37-
"warn",
38-
4
39-
],
40-
"@stylistic/member-delimiter-style": [
41-
"warn",
42-
{
43-
"multiline": {
44-
"delimiter": "semi",
45-
"requireLast": true
46-
}
47-
}
48-
],
49-
"@stylistic/semi": [
50-
"warn",
51-
"always"
52-
],
53-
"@stylistic/quotes": [
54-
"warn",
55-
"double",
56-
{
57-
"avoidEscape": true
58-
}
59-
],
60-
"@stylistic/brace-style": [
61-
"warn",
62-
"1tbs",
63-
{
64-
"allowSingleLine": true
65-
}
66-
],
67-
"@stylistic/arrow-parens": [
68-
"warn",
69-
"as-needed"
70-
],
71-
"@stylistic/max-statements-per-line": [
72-
"warn",
73-
{
74-
"max": 2
75-
}
76-
],
77-
"@stylistic/comma-dangle": [
78-
"warn",
79-
"never"
80-
],
81-
"@stylistic/no-mixed-operators": "warn"
82-
}
83-
}
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"sourceType": "module",
6+
"project": true
7+
},
8+
"env": {
9+
"node": true
10+
},
11+
"plugins": ["@typescript-eslint", "@stylistic"],
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:@typescript-eslint/eslint-recommended",
15+
"plugin:@typescript-eslint/strict-type-checked",
16+
"plugin:@typescript-eslint/stylistic-type-checked",
17+
"plugin:@stylistic/recommended-extends"
18+
],
19+
"rules": {
20+
"@typescript-eslint/explicit-function-return-type": [
21+
"error",
22+
{ "allowExpressions": true }
23+
],
24+
"@typescript-eslint/no-non-null-assertion": "off",
25+
"@typescript-eslint/restrict-template-expressions": [
26+
"error",
27+
{ "allowNumber": true }
28+
],
29+
"@typescript-eslint/prefer-nullish-coalescing": [
30+
"error",
31+
{ "ignoreConditionalTests": true }
32+
],
33+
"@stylistic/max-len": ["warn", 120, { "ignoreStrings": true }],
34+
"@stylistic/indent": ["warn", 4],
35+
"@stylistic/member-delimiter-style": [
36+
"warn",
37+
{
38+
"multiline": {
39+
"delimiter": "semi",
40+
"requireLast": true
41+
}
42+
}
43+
],
44+
"@stylistic/semi": ["warn", "always"],
45+
"@stylistic/quotes": ["warn", "double", { "avoidEscape": true }],
46+
"@stylistic/brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
47+
"@stylistic/arrow-parens": ["warn", "as-needed"],
48+
"@stylistic/max-statements-per-line": ["warn", { "max": 2 }],
49+
"@stylistic/comma-dangle": ["warn", "never"],
50+
"@stylistic/no-mixed-operators": "warn"
51+
}
52+
}

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "copy-url-in-preview",
33
"name": "Image Context Menus",
4-
"version": "1.9.0",
4+
"version": "1.9.1",
55
"minAppVersion": "1.6.6",
66
"description": "Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab context menus for images. Also has an pen PDF externally context menu.",
77
"author": "NomarCub",

0 commit comments

Comments
 (0)