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 243d65a

Browse filesBrowse files
ota-meshiFloEdelmann
authored andcommitted
revert update script
1 parent 21da65e commit 243d65a
Copy full SHA for 243d65a

File tree

Expand file treeCollapse file tree

2 files changed

+5
-15
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-15
lines changed

‎lib/configs/base.js

Copy file name to clipboardExpand all lines: lib/configs/base.js
+3-8Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
* in order to update its content execute "npm run update"
55
*/
66
module.exports = {
7+
parser: require.resolve('vue-eslint-parser'),
78
parserOptions: {
8-
ecmaVersion: 'latest',
9+
ecmaVersion: 2020,
910
sourceType: 'module'
1011
},
1112
env: {
@@ -16,11 +17,5 @@ module.exports = {
1617
rules: {
1718
'vue/comment-directive': 'error',
1819
'vue/jsx-uses-vars': 'error'
19-
},
20-
overrides: [
21-
{
22-
files: '*.vue',
23-
parser: require.resolve('vue-eslint-parser')
24-
}
25-
]
20+
}
2621
}

‎tools/update-lib-configs.js

Copy file name to clipboardExpand all lines: tools/update-lib-configs.js
+2-7Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function formatCategory(category) {
5656
* in order to update its content execute "npm run update"
5757
*/
5858
module.exports = {
59+
parser: require.resolve('vue-eslint-parser'),
5960
parserOptions: {
6061
ecmaVersion: 2020,
6162
sourceType: 'module'
@@ -67,13 +68,7 @@ module.exports = {
6768
plugins: [
6869
'vue'
6970
],
70-
rules: ${formatRules(category.rules, category.categoryId)},
71-
overrides: [
72-
{
73-
files: '*.vue',
74-
parser: require.resolve('vue-eslint-parser')
75-
}
76-
]
71+
rules: ${formatRules(category.rules, category.categoryId)}
7772
}
7873
`
7974
}

0 commit comments

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