Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
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
marketing-web
marketing
Commits
ae7efd2a
Commit
ae7efd2a
authored
Nov 15, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改
parent
f23eae1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
22 deletions
+10
-22
.babelrc
.babelrc
+3
-4
.eslintrc.js
.eslintrc.js
+7
-17
.postcssrc.js
.postcssrc.js
+0
-1
No files found.
.babelrc
View file @
ae7efd2a
{
"presets": [
["env", {
["
@babel/preset-
env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-vue-jsx", "transform-runtime"]
"@vue/babel-preset-jsx"
]
}
.eslintrc.js
View file @
ae7efd2a
...
...
@@ -3,30 +3,20 @@
module
.
exports
=
{
root
:
true
,
parserOptions
:
{
parser
:
'
babel-eslint
'
parser
:
'
@babel/eslint-parser
'
},
env
:
{
browser
:
true
,
"node"
:
true
},
extends
:
[
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
// "standard",
'plugin:vue/essential'
,
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
'plugin:prettier/recommended'
],
// required to lint *.vue files
plugins
:
[
'vue'
,
'prettier'
,
'html'
],
// add your custom rules here
rules
:
{
'prettier/prettier'
:
[
'error'
,
{
endOfLine
:
'auto'
}
],
//
'prettier/prettier': [
//
'error',
//
{
//
endOfLine: 'auto'
//
}
//
],
// allow async-await
'generator-star-spacing'
:
'off'
,
'no-console'
:
0
,
...
...
.postcssrc.js
View file @
ae7efd2a
...
...
@@ -4,7 +4,6 @@ module.exports = {
"plugins"
:
{
"postcss-import"
:
{},
"postcss-url"
:
{},
// to edit target browsers: use "browserslist" field in package.json
"autoprefixer"
:
{}
}
}
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