Skip to content

Commit

Permalink
style: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ourongxing committed Apr 21, 2022
1 parent 6bf5e54 commit e38c573
Show file tree
Hide file tree
Showing 10 changed files with 2,872 additions and 920 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
"plugin:prettier/recommended"
],
rules: {
// "prettier/prettier": "on",
"prettier/prettier": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-ts-comment": "off",
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ yarn-error.log
src/test.js
test.ts
.eslintcache
.pnpm*
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@

## Acknowledgements

* [obsidian-bridge](https://github.com/aidenlx/obsidian-bridge) The first project using TypeScript to develop MN plugins.
* [mn-addon-api](https://github.com/aidenlx/mn-addon-api) MN Addon API Declaration Files.
* [pangu.js](https://github.com/vinta/pangu.js) Add spaces between Chinese and English for AutoStandrized.
* [ECDICT](https://github.com/skywind3000/ECDICT) & [API](http://dict.e.opac.vip/dict.php) Provide data support for AutoComplete.
- [obsidian-bridge](https://github.com/aidenlx/obsidian-bridge) The first project using TypeScript to develop MN plugins.
- [mn-addon-api](https://github.com/aidenlx/mn-addon-api) MN Addon API Declaration Files.
- [pangu.js](https://github.com/vinta/pangu.js) Add spaces between Chinese and English for AutoStandrized.
- [ECDICT](https://github.com/skywind3000/ECDICT) & [API](http://dict.e.opac.vip/dict.php) Provide data support for AutoComplete.

## License
[MIT](https://github.com/mnaddon/ohmymn/blob/main/LICENSE)

[MIT](https://github.com/mnaddon/ohmymn/blob/main/LICENSE)
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"build": "NODE_ENV=production tsup && cd ./dist && zip -qrm \"${npm_package_name}_v$npm_package_version.mnaddon\" *",
"lint:fix": "eslint . --fix --ext .ts",
"lint": "eslint . --ext .ts",
"prettier": "prettier --write .",
"dev": "rollup -w --config rollup.config.ts",
"prepare": "husky install"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json}": [
"prettier --write",
"eslint --cache --fix",
"git add"
]
Expand Down
Loading

0 comments on commit e38c573

Please sign in to comment.