Skip to content

Commit 14d8867

Browse files
committed
eslint-config-fritx 0.0.2 => 0.2.4 & misc
1 parent 28d6a4e commit 14d8867

File tree

7 files changed

+22
-16
lines changed

7 files changed

+22
-16
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
extends: ['fritx', 'fritx/node', 'fritx/es2017-compat'],
2+
extends: ['fritx/node', 'fritx/es2017'],
33
ignorePatterns: [
44
'packages/silent/blog/**'
55
]

blog/.eslintrc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ module.exports = {
1212
overrides: [
1313
{
1414
files: 'vendor/**/*.js',
15-
extends: ['fritx/browser', 'fritx/es5-compat']
15+
extends: ['plugin:es/restrict-to-es5']
1616
},
1717
{
1818
files: 'vendor/blog.js',
19-
extends: ['fritx', 'fritx/browser', 'fritx/es5-compat'],
19+
extends: ['fritx/browser', 'fritx/es5-loose'],
2020
globals: {
2121
mermaid: 'readonly',
2222
marked: 'readonly',

blog/p/projects/vue-at/README.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
# 👨‍👩‍👧‍👦 vue-at  [![](https://img.shields.io/github/stars/fritx/vue-at?style=social)](https://github.com/fritx/vue-at)
22

3-
<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>
3+
<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>
44

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

7-
Live Demo & Documentation: https://fritx.github.io/vue-at
8-
9-
*Docs is powered by [At-UI](https://github.com/AT-UI/at-ui).*
10-
117
- [x] Chrome / Firefox / Edge / IE9~IE11
128
- [x] Plain-text based, no jQuery, no extra nodes
139
- [x] Content-Editable / Textarea
1410
- [x] Avatars, custom templates
15-
- [x] Vue3 / Vue2 / Vue1
16-
- [x] Vuetify / Element UI / Element Plus
17-
- [x] Vue-CLI migration
18-
- [ ] Vite migration
11+
- [x] Vite / Vue3 / Vue2 / Vue1
12+
- [x] Quasar / Vuetify / Element UI / Element Plus
13+
- [x] Vue-CLI build migration
14+
- [ ] Vite build migration
1915
- [x] CommonJS / UMD Support
2016

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

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

2524
```plain
2625
npm i vue-at@next # for Vue3 (branch vue3)

blog/vendor/blog.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@
300300
var prefix = matched[0]
301301
var success = setFavicon(prefix)
302302
if (success && emojiPrefixRegex.test(mainTitle)) {
303-
navTitle = mainTitle.replace(regex, '').trim() // replace only if emoji
303+
// navTitle = mainTitle.replace(regex, '').trim() // replace only if emoji
304+
navTitle = mainTitle.replace(prefix, '').trim() // replace only if emoji
304305
}
305306
}
306307
return navTitle

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
},
1616
"devDependencies": {
1717
"eslint": "^8.25.0",
18-
"eslint-config-fritx": "^0.0.2",
18+
"eslint-config-fritx": "^0.2.4",
1919
"eslint-plugin-es5": "^1.5.0",
2020
"gh-pages": "^4.0.0",
2121
"jayin": "^0.0.3",
22-
"np": "^7.6.2",
22+
"np": "^8.0.4",
2323
"npm-run-all": "^4.1.5"
2424
},
2525
"homepage": "https://github.com/fritx/silent",

packages/create-silent/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"repository": "[email protected]:fritx/silent.git",
1515
"license": "MIT",
1616
"bin": "cli.js",
17+
"engines": {
18+
"node": ">=8.0.0"
19+
},
1720
"dependencies": {
1821
"silent": "^0.2.0"
1922
}

packages/silent/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"scripts": {
1919
"test": "test -d blog"
2020
},
21+
"engines": {
22+
"node": ">=8.0.0"
23+
},
2124
"dependencies": {
2225
"prompts": "^2.4.2",
2326
"shelljs": "^0.8.5"

0 commit comments

Comments
 (0)