Skip to content

Commit 0af6223

Browse files
authored
Merge pull request #5 from ety001/3.0.0
3.0.0
2 parents c0cb639 + c657b4b commit 0af6223

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+14912
-1399
lines changed

.babelrc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"plugins": [
3+
"@babel/plugin-proposal-optional-chaining"
4+
],
5+
"presets": [
6+
["@babel/preset-env", {
7+
"useBuiltIns": "usage",
8+
"corejs": 3,
9+
"targets": {
10+
// https://jamie.build/last-2-versions
11+
"browsers": ["> 0.25%", "not ie 11", "not op_mini all"]
12+
}
13+
}]
14+
]
15+
}

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintrc.js

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// https://eslint.org/docs/user-guide/configuring
2+
// File taken from https://github.com/vuejs-templates/webpack/blob/1.3.1/template/.eslintrc.js, thanks.
3+
4+
module.exports = {
5+
root: true,
6+
parserOptions: {
7+
parser: 'babel-eslint',
8+
},
9+
env: {
10+
browser: true,
11+
webextensions: true,
12+
},
13+
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
14+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
15+
extends: ['plugin:vue/essential', 'airbnb-base', 'plugin:prettier/recommended'],
16+
// required to lint *.vue files
17+
plugins: ['vue'],
18+
// check if imports actually resolve
19+
settings: {
20+
'import/resolver': {
21+
webpack: {
22+
config: './webpack.config.js',
23+
},
24+
},
25+
},
26+
// add your custom rules here
27+
rules: {
28+
// don't require .vue extension when importing
29+
'import/extensions': [
30+
'error',
31+
'always',
32+
{
33+
js: 'never',
34+
vue: 'never',
35+
},
36+
],
37+
// disallow reassignment of function parameters
38+
// disallow parameter object manipulation except for specific exclusions
39+
'no-param-reassign': [
40+
'error',
41+
{
42+
props: true,
43+
ignorePropertyModificationsFor: [
44+
'state', // for vuex state
45+
'acc', // for reduce accumulators
46+
'e', // for e.returnvalue
47+
],
48+
},
49+
],
50+
// disallow default export over named export
51+
'import/prefer-default-export': 'off',
52+
// allow debugger during development
53+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
54+
},
55+
};

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
.DS_Store
1+
/node_modules
2+
/*.log
3+
/dist
4+
/dist-zip

.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"printWidth": 180,
4+
"trailingComma": "es5"
5+
}

1280_800.png

-194 KB
Binary file not shown.

1400_560.png

-180 KB
Binary file not shown.

440_280.png

-9.99 KB
Binary file not shown.

920_680.png

-25.4 KB
Binary file not shown.

README.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
# bookmark-extension
1+
# Review Bookmark
22

3-
[![Join the chat at https://gitter.im/ety001/bookmark-extension](https://badges.gitter.im/ety001/bookmark-extension.svg)](https://gitter.im/ety001/bookmark-extension?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3+
#### A bookmark manager for Chrome
44

5-
A bookmark manager for Chrome
6-
7-
This tool can help you clean up your useless bookmarks.
5+
This tool can help you clean up your useless bookmarks.
86
It selects one bookmark from your bookmark bar every X times you open new tab(x is your setting) and show a tip to remind you this bookmark.
97
If you find this bookmark has been out-of-date, you can remove it from your bookmark bar.
108

11-
[Dev Plan](https://github.com/ety001/bookmark-extension/wiki/Dev-Plan)
9+
[Suggestion](https://creatorsdaily.com/9999e88d-0b00-46dc-8ff1-e1d311695324#comments)
10+
11+
---
12+
13+
# 温故知新
14+
15+
#### 一个 Chrome 书签管理扩展
16+
17+
**温故知新** 是一个可以帮助你重温或者整理书签的 Chrome 浏览器插件。每次当你新建立一个标签页面的时候,插件就会从你的书签栏选择一个书签并提示你。你可以选择浏览或者删除。
18+
19+
[建议](https://creatorsdaily.com/9999e88d-0b00-46dc-8ff1-e1d311695324#comments)

bookmark-extension/_locales/en_US/messages.json

-98
This file was deleted.

bookmark-extension/_locales/zh_CN/messages.json

-98
This file was deleted.

0 commit comments

Comments
 (0)