Skip to content

Commit

Permalink
Merge pull request #46 from NomarCub/feature/fix-mobile
Browse files Browse the repository at this point in the history
Feature/fix mobile
  • Loading branch information
NomarCub authored Sep 7, 2024
2 parents d1dc913 + b7c1258 commit 6c5907b
Show file tree
Hide file tree
Showing 7 changed files with 1,131 additions and 272 deletions.
133 changes: 51 additions & 82 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,83 +1,52 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": true
},
"env": {
"node": true
},
"plugins": [
"@typescript-eslint",
"@stylistic"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:@stylistic/recommended-extends"
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/restrict-template-expressions": [
"error",
{
"allowNumber": true
}
],
"@typescript-eslint/prefer-nullish-coalescing": [
"error",
{
"ignoreConditionalTests": true
}
],
"@stylistic/indent": [
"warn",
4
],
"@stylistic/member-delimiter-style": [
"warn",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
}
}
],
"@stylistic/semi": [
"warn",
"always"
],
"@stylistic/quotes": [
"warn",
"double",
{
"avoidEscape": true
}
],
"@stylistic/brace-style": [
"warn",
"1tbs",
{
"allowSingleLine": true
}
],
"@stylistic/arrow-parens": [
"warn",
"as-needed"
],
"@stylistic/max-statements-per-line": [
"warn",
{
"max": 2
}
],
"@stylistic/comma-dangle": [
"warn",
"never"
],
"@stylistic/no-mixed-operators": "warn"
}
}
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": true
},
"env": {
"node": true
},
"plugins": ["@typescript-eslint", "@stylistic"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:@stylistic/recommended-extends"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": [
"error",
{ "allowExpressions": true }
],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/restrict-template-expressions": [
"error",
{ "allowNumber": true }
],
"@typescript-eslint/prefer-nullish-coalescing": [
"error",
{ "ignoreConditionalTests": true }
],
"@stylistic/max-len": ["warn", 120, { "ignoreStrings": true }],
"@stylistic/indent": ["warn", 4],
"@stylistic/member-delimiter-style": [
"warn",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
}
}
],
"@stylistic/semi": ["warn", "always"],
"@stylistic/quotes": ["warn", "double", { "avoidEscape": true }],
"@stylistic/brace-style": ["warn", "1tbs", { "allowSingleLine": true }],
"@stylistic/arrow-parens": ["warn", "as-needed"],
"@stylistic/max-statements-per-line": ["warn", { "max": 2 }],
"@stylistic/comma-dangle": ["warn", "never"],
"@stylistic/no-mixed-operators": "warn"
}
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "copy-url-in-preview",
"name": "Image Context Menus",
"version": "1.9.0",
"version": "1.9.1",
"minAppVersion": "1.6.6",
"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.",
"author": "NomarCub",
Expand Down
Loading

0 comments on commit 6c5907b

Please sign in to comment.