Commit aa7a2769 authored by lipengcheng 's avatar lipengcheng

feat: init

parent bdac75cc
...@@ -3,7 +3,7 @@ root = true ...@@ -3,7 +3,7 @@ root = true
[*] [*]
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
end_of_line = lf end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
......
package.json
package-lock.json
pm2.json
yarn.lock
.eslintrc.js
# 忽略有所md文件
*.md
assets/
static/
dist/
Dockerfile
# .*
...@@ -16,5 +16,14 @@ module.exports = { ...@@ -16,5 +16,14 @@ module.exports = {
], ],
plugins: ['prettier'], plugins: ['prettier'],
// add your custom rules here // add your custom rules here
rules: {}, rules: {
indent: [
'error',
4,
{
SwitchCase: 1,
flatTernaryExpressions: true,
},
],
},
} }
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
parserOptions: {
parser: 'babel-eslint',
},
extends: [
'@nuxtjs',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
'plugin:nuxt/recommended',
],
plugins: ['prettier'],
// add your custom rules here
rules: {},
}
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
parserOptions: {
parser: 'babel-eslint',
},
extends: [
'@nuxtjs',
'prettier',
'prettier/vue',
'plugin:prettier/recommended',
'plugin:nuxt/recommended',
],
plugins: ['prettier'],
// add your custom rules here
rules: {
indent: [
'error',
4,
{
SwitchCase: 1,
flatTernaryExpressions: true,
},
],
},
}
module.exports = {
// 换行长度
printWidth: 120,
// tab缩进大小,默认为2
tabWidth: 4,
// 使用tab缩进,默认false
useTabs: false,
// 是否使用分号, 默认true
semi: false,
// 是否使用单引号, 默认false(在jsx中配置无效, 默认都是双引号)
singleQuote: true,
jsxBracketSameLine: true,
}
module.exports = {
// tab缩进大小,默认为2
tabWidth: 4,
// // 换行长度
// printWidth: 120,
// // 使用tab缩进,默认false
// useTabs: false,
// // 是否使用分号, 默认true
// semi: false,
// // 是否使用单引号, 默认false(在jsx中配置无效, 默认都是双引号)
// singleQuote: true,
// jsxBracketSameLine: true,
}
node_modules/
.nuxt/
dist/
.prettierrc.js
assets/
# 所有的markdown文件
*/.md
# .*
module.exports = {
// tab缩进大小,默认为2
tabWidth: 4,
// // 换行长度
// printWidth: 120,
// // 使用tab缩进,默认false
// useTabs: false,
// // 是否使用分号, 默认true
// semi: false,
// // 是否使用单引号, 默认false(在jsx中配置无效, 默认都是双引号)
// singleQuote: true,
// jsxBracketSameLine: true,
}
registry "https://registry.npm.taobao.org"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment