Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
V
vue2-arcgis
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SVI
svi-templates
vue2-arcgis
Commits
d5b645c6
Commit
d5b645c6
authored
Aug 19, 2019
by
曾沂轮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: 添加@samrt/standard eslint规范
parent
dbae82a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
.eslintrc.js
template/.eslintrc.js
+6
-4
package.json
template/package.json
+1
-0
No files found.
template/.eslintrc.js
View file @
d5b645c6
...
...
@@ -5,7 +5,7 @@ module.exports = {
},
'extends'
:
[
'plugin:vue/essential'
,
'@
vue
/standard'
'@
smart
/standard'
],
rules
:
{
"comma-dangle"
:
[
"error"
,
{
...
...
@@ -15,17 +15,19 @@ module.exports = {
"exports"
:
"ignore"
,
"functions"
:
"ignore"
}],
'generator-star-spacing'
:
'off'
,
"space-before-function-paren"
:
[
"error"
,
{
"anonymous"
:
"always"
,
"named"
:
"never"
,
"asyncArrow"
:
"always"
}],
'template-curly-spacing'
:
'off'
,
'template-curly-spacing'
:
[
'error'
,
'always'
]
,
'no-multi-spaces'
:
[
'error'
,
{
'ignoreEOLComments'
:
true
}],
'no-trailing-spaces'
:
'off'
,
'no-trailing-spaces'
:
[
'error'
,
{
'skipBlankLines'
:
true
,
'ignoreComments'
:
true
}],
'no-useless-escape'
:
'error'
,
'no-console'
:
process
.
env
.
NODE_ENV
===
'production'
?
'error'
:
'off'
,
'no-debugger'
:
process
.
env
.
NODE_ENV
===
'production'
?
'error'
:
'off'
...
...
template/package.json
View file @
d5b645c6
...
...
@@ -19,6 +19,7 @@
"vuex"
:
"^3.0.1"
},
"devDependencies"
:
{
"@smart/eslint-config-standard"
:
"^0.1.2"
,
"@vue/cli-plugin-babel"
:
"^3.7.0"
,
"@vue/cli-plugin-eslint"
:
"^3.7.0"
,
"@vue/cli-plugin-unit-mocha"
:
"^3.7.0"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment