Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3ba5505

Browse filesBrowse files
committed
feat: vue diff vue
1 parent 039cd17 commit 3ba5505
Copy full SHA for 3ba5505

15 files changed

+11784
-0
lines changed

‎.browserslistrc

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

‎.editorconfig

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 4
4+
end_of_line = lf
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true

‎.eslintrc.js

Copy file name to clipboard
+41Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
9+
],
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13+
// allow paren-less arrow functions
14+
'arrow-parens': 0,
15+
// allow async-await
16+
'generator-star-spacing': 0,
17+
// fix unused var error for JSX custom tags
18+
'vue/jsx-uses-vars': 2,
19+
'no-throw-literal': 0,
20+
21+
'semi': ['error', 'always'],
22+
'indent': ['error', 4, {SwitchCase: 1}],
23+
'space-before-function-paren': ['error', {
24+
anonymous: 'always',
25+
named: 'never',
26+
asyncArrow: 'always'
27+
}],
28+
'brace-style': ['error', 'stroustrup'],
29+
'operator-linebreak': ['error', 'before'],
30+
'eol-last': 'error',
31+
'no-new': 0,
32+
'no-else-return': 0,
33+
'padded-blocks': 0,
34+
'no-fallthrough': 'off',
35+
'default-case': 'error',
36+
'object-curly-spacing': 'off'
37+
},
38+
parserOptions: {
39+
parser: 'babel-eslint'
40+
}
41+
}

‎.gitignore

Copy file name to clipboard
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw*

‎babel.config.js

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.