forked from ansh/jiffyreader.com
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from asieduernest12/update/uiAndShare
Update/UI and share
- Loading branch information
Showing
25 changed files
with
1,922 additions
and
1,412 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
import eslintPluginImport from 'eslint-plugin-import'; | ||
import eslintPluginOrganizeImports from 'eslint-plugin-organize-imports'; | ||
import pathAlias from 'eslint-plugin-path-alias'; | ||
import globals from 'globals'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{ | ||
languageOptions: { | ||
globals: { ...globals['shared-node-browser'], ...globals.node }, | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
}, | ||
}, | ||
eslintConfigPrettier, | ||
{ | ||
plugins: { | ||
'path-alias': pathAlias, | ||
'organize-imports': eslintPluginOrganizeImports, | ||
import: eslintPluginImport, | ||
}, | ||
rules: { | ||
'path-alias/no-relative': ['error', { exceptions: ['*.module.css'] }], | ||
'import/first': 'error', | ||
'import/newline-after-import': 'error', | ||
'import/no-duplicates': 'error', | ||
'import/no-relative-packages': 'error', | ||
'no-undef': ['error'], | ||
'no-unused-vars': 'error', | ||
}, | ||
}, | ||
]; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "jiffy-reader", | ||
"displayName": "Jiffy reader", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "jiffy reader", | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
|
@@ -31,7 +31,9 @@ | |
"build:xcode": "pnpm build:safari && xcrun safari-web-extension-converter --swift --no-open --force --bundle-identifier com.jiffyreader build/safari-mv2-prod", | ||
"build:xcode:all": "pnpm build:xcode && pnpm build:ios", | ||
"dev:xcode": "xcrun safari-web-extension-converter --swift --no-open --force --bundle-identifier com.jiffyreader build/safari-mv2-dev", | ||
"release": "if [ 0 -eq $(git log --oneline | head -n1 | grep 'chore(release)' | wc -l) ]; then commit-and-tag-version; fi" | ||
"release": "if [ 0 -eq $(git log --oneline | head -n1 | grep 'chore(release)' | wc -l) ]; then commit-and-tag-version; fi", | ||
"lint": "prettier -w src/ ; eslint --fix src/", | ||
"test": "make -s build;# test is unstable';" | ||
}, | ||
"dependencies": { | ||
"@plasmohq/prettier-plugin-sort-imports": "^1.1.1", | ||
|
@@ -57,8 +59,15 @@ | |
"@types/react-dom": "18.0.6", | ||
"console-browserify": "^1.2.0", | ||
"cws-publish": "^2.1.1", | ||
"eslint-config-airbnb-base-typescript-prettier": "^4.1.0", | ||
"prettier": "2.7.1", | ||
"eslint": "^9.17.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-organize-imports": "^0.0.46", | ||
"eslint-plugin-path-alias": "^2.1.0", | ||
"globals": "^15.14.0", | ||
"prettier": "3.4.2", | ||
"prettier-eslint": "^16.3.0", | ||
"prettier-plugin-organize-imports": "^4.1.0", | ||
"process": "^0.11.10", | ||
"typescript": "4.7.4" | ||
}, | ||
|
Oops, something went wrong.