Skip to content

Commit 350cbee

Browse files
committed
Update packages and fix linting issues
1 parent 9bde9db commit 350cbee

File tree

4 files changed

+2364
-2430
lines changed

4 files changed

+2364
-2430
lines changed

package.json

+14-7
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
"yourls": "^1.0.2"
3333
},
3434
"devDependencies": {
35-
"@vue/cli-plugin-babel": "^3.4.0",
36-
"@vue/cli-plugin-eslint": "^3.4.0",
37-
"@vue/cli-service": "^3.4.0",
35+
"@vue/cli-plugin-babel": "^4.1.2",
36+
"@vue/cli-plugin-eslint": "^4.1.2",
37+
"@vue/cli-service": "^4.1.2",
3838
"babel-eslint": "^10.0.1",
39-
"eslint": "^5.16.0",
40-
"eslint-config-prettier": "^4.3.0",
41-
"eslint-plugin-vue": "^5.2.2",
39+
"eslint": "^6.8.0",
40+
"eslint-config-prettier": "^6.9.0",
41+
"eslint-plugin-vue": "^6.1.2",
4242
"prettier": "^1.18.2",
4343
"vue-template-compiler": "^2.5.21"
4444
},
@@ -47,6 +47,9 @@
4747
"env": {
4848
"node": true
4949
},
50+
"plugins": [
51+
"vue"
52+
],
5053
"extends": [
5154
"plugin:vue/essential",
5255
"plugin:vue/recommended",
@@ -57,7 +60,11 @@
5760
"vue/max-attributes-per-line": [
5861
"error",
5962
{
60-
"singleline": 5
63+
"singleline": 5,
64+
"multiline": {
65+
"max": 1,
66+
"allowFirstLine": true
67+
}
6168
}
6269
]
6370
},

src/components/Features.vue

+25-27
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,29 @@
3030
<b-list-group flush>
3131
<b-list-group-item>
3232
JSON linting using
33-
<a href="https://github.com/zaach/jsonlint" target="_blank"
34-
>json lint</a
35-
>
33+
<a href="https://github.com/zaach/jsonlint" target="_blank">json lint</a>
3634
for schema and instance JSON
3735
</b-list-group-item>
38-
<b-list-group-item
39-
>Shareable JSON Schema and JSON Instance
40-
example</b-list-group-item
41-
>
42-
<b-list-group-item
43-
>In editor JSON lint error reporting</b-list-group-item
44-
>
36+
<b-list-group-item>
37+
Shareable JSON Schema and JSON Instance
38+
example
39+
</b-list-group-item>
40+
<b-list-group-item>
41+
In editor JSON lint error reporting
42+
</b-list-group-item>
4543
<b-list-group-item>
4644
JSON instance validation using JSON Schema
4745
<a href="https://ajv.js.org/" target="_blank ">ajv</a>
4846
</b-list-group-item>
49-
<b-list-group-item
50-
>Basic JSON Schema sanity checks using ajv</b-list-group-item
51-
>
52-
<b-list-group-item
53-
>JSON Schema validation error reporting</b-list-group-item
54-
>
55-
<b-list-group-item
56-
>Edit in style with your choice of themes</b-list-group-item
57-
>
47+
<b-list-group-item>
48+
Basic JSON Schema sanity checks using ajv
49+
</b-list-group-item>
50+
<b-list-group-item>
51+
JSON Schema validation error reporting
52+
</b-list-group-item>
53+
<b-list-group-item>
54+
Edit in style with your choice of themes
55+
</b-list-group-item>
5856
<b-list-group-item>Auto format JSON</b-list-group-item>
5957
</b-list-group>
6058
</b-card>
@@ -75,15 +73,15 @@
7573
<b-list-group-item>
7674
In editor JSON Schema validation error reporting
7775
</b-list-group-item>
78-
<b-list-group-item
79-
>Save and load JSON Schema and JSON Instance via
80-
Github</b-list-group-item
81-
>
76+
<b-list-group-item>
77+
Save and load JSON Schema and JSON Instance via
78+
Github
79+
</b-list-group-item>
8280
<b-list-group-item>JSON Schema Lint</b-list-group-item>
83-
<b-list-group-item
84-
>Multi-file JSON Schema support to allow for
85-
referencing</b-list-group-item
86-
>
81+
<b-list-group-item>
82+
Multi-file JSON Schema support to allow for
83+
referencing
84+
</b-list-group-item>
8785
<b-list-group-item>JSON Schema unit testing</b-list-group-item>
8886
</b-list-group>
8987
</b-card>

src/components/Navigation.vue

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363

6464
<script>
6565
66-
import _ from 'lodash';
67-
6866
export default {
6967
name: 'Navigation',
7068
};

0 commit comments

Comments
 (0)