Skip to content

Commit

Permalink
eslint-config-fritx 0.0.2 => 0.2.4 & misc
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Jun 26, 2023
1 parent 28d6a4e commit 14d8867
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['fritx', 'fritx/node', 'fritx/es2017-compat'],
extends: ['fritx/node', 'fritx/es2017'],
ignorePatterns: [
'packages/silent/blog/**'
]
Expand Down
4 changes: 2 additions & 2 deletions blog/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ module.exports = {
overrides: [
{
files: 'vendor/**/*.js',
extends: ['fritx/browser', 'fritx/es5-compat']
extends: ['plugin:es/restrict-to-es5']
},
{
files: 'vendor/blog.js',
extends: ['fritx', 'fritx/browser', 'fritx/es5-compat'],
extends: ['fritx/browser', 'fritx/es5-loose'],
globals: {
mermaid: 'readonly',
marked: 'readonly',
Expand Down
19 changes: 9 additions & 10 deletions blog/p/projects/vue-at/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
# 👨‍👩‍👧‍👦 vue-at  [![](https://img.shields.io/github/stars/fritx/vue-at?style=social)](https://github.com/fritx/vue-at)

<a href="https://www.npmjs.com/package/vue-at"><img height="20" src="https://img.shields.io/npm/dm/vue-at.svg"></a>&nbsp;&nbsp;<a href="https://github.com/fritx/vue-at"><img width="90" height="20" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>&nbsp;&nbsp;<a href="https://github.com/fritx/vue-at"><img width="84" height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>&nbsp;&nbsp;<a href="https://gitter.im/fritx/vue-at?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img width="92" src="https://badges.gitter.im/fritx/vue-at.svg" alt="Join the chat at https://gitter.im/fritx/vue-at"></a>
<a href="https://we-demo.github.io/vue-at-vite-app/"><img width="76" height="20" src="https://img.shields.io/website?url=https%3A%2F%2Fwe-demo.github.io%2Fvue-at-vite-app%2F"></a>&nbsp;&nbsp;<a href="https://www.npmjs.com/package/vue-at"><img height="20" src="https://img.shields.io/npm/dm/vue-at.svg"></a>&nbsp;&nbsp;<a href="https://github.com/fritx/vue-at"><img width="90" height="20" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>&nbsp;&nbsp;<a href="https://github.com/fritx/vue-at"><img width="84" height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>&nbsp;&nbsp;<a href="https://gitter.im/fritx/vue-at?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img width="92" src="https://badges.gitter.im/fritx/vue-at.svg" alt="Join the chat at https://gitter.im/fritx/vue-at"></a>

<img width="262" height="218" src="WechatIMG1.jpeg">&nbsp;&nbsp;<img width="262" height="218" src="WechatIMG2.jpeg">

Live Demo & Documentation: https://fritx.github.io/vue-at

*Docs is powered by [At-UI](https://github.com/AT-UI/at-ui).*

- [x] Chrome / Firefox / Edge / IE9~IE11
- [x] Plain-text based, no jQuery, no extra nodes
- [x] Content-Editable / Textarea
- [x] Avatars, custom templates
- [x] Vue3 / Vue2 / Vue1
- [x] Vuetify / Element UI / Element Plus
- [x] Vue-CLI migration
- [ ] Vite migration
- [x] Vite / Vue3 / Vue2 / Vue1
- [x] Quasar / Vuetify / Element UI / Element Plus
- [x] Vue-CLI build migration
- [ ] Vite build migration
- [x] CommonJS / UMD Support

Playground: https://we-demo.github.io/vue-at-vite-app/<br>
Vue2 Docs: https://github.com/fritx/vue-at/tree/vue2#readme<br>
Vue3 Docs: See below<br>
See also: [react-at](https://github.com/fritx/react-at)

for Vue2, read [this one](https://github.com/fritx/vue-at/tree/vue2#readme) instead.
**If you're using Vue2, read [branch vue2](https://github.com/fritx/vue-at/tree/vue2#readme) instead.**

```plain
npm i vue-at@next # for Vue3 (branch vue3)
Expand Down
3 changes: 2 additions & 1 deletion blog/vendor/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@
var prefix = matched[0]
var success = setFavicon(prefix)
if (success && emojiPrefixRegex.test(mainTitle)) {
navTitle = mainTitle.replace(regex, '').trim() // replace only if emoji
// navTitle = mainTitle.replace(regex, '').trim() // replace only if emoji
navTitle = mainTitle.replace(prefix, '').trim() // replace only if emoji
}
}
return navTitle
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"devDependencies": {
"eslint": "^8.25.0",
"eslint-config-fritx": "^0.0.2",
"eslint-config-fritx": "^0.2.4",
"eslint-plugin-es5": "^1.5.0",
"gh-pages": "^4.0.0",
"jayin": "^0.0.3",
"np": "^7.6.2",
"np": "^8.0.4",
"npm-run-all": "^4.1.5"
},
"homepage": "https://github.com/fritx/silent",
Expand Down
3 changes: 3 additions & 0 deletions packages/create-silent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"repository": "[email protected]:fritx/silent.git",
"license": "MIT",
"bin": "cli.js",
"engines": {
"node": ">=8.0.0"
},
"dependencies": {
"silent": "^0.2.0"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/silent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"scripts": {
"test": "test -d blog"
},
"engines": {
"node": ">=8.0.0"
},
"dependencies": {
"prompts": "^2.4.2",
"shelljs": "^0.8.5"
Expand Down

0 comments on commit 14d8867

Please sign in to comment.