Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
a5957211
Commit
a5957211
authored
Mar 19, 2019
by
xiaohuoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts config
parent
7f420160
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
113 additions
and
20 deletions
+113
-20
tsconfig.json
tsconfig.json
+6
-9
tslint.json
tslint.json
+0
-11
tslint.yml
tslint.yml
+95
-0
typings.d.ts
typings.d.ts
+12
-0
No files found.
tsconfig.json
View file @
a5957211
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"compilerOptions"
:
{
"compilerOptions"
:
{
"outDir"
:
"build/dist"
,
"outDir"
:
"build/dist"
,
"module"
:
"esnext"
,
"module"
:
"esnext"
,
"target"
:
"es
2016
"
,
"target"
:
"es
next
"
,
"lib"
:
[
"es
6
"
,
"dom"
],
"lib"
:
[
"es
next
"
,
"dom"
],
"sourceMap"
:
true
,
"sourceMap"
:
true
,
"baseUrl"
:
"."
,
"baseUrl"
:
"."
,
"jsx"
:
"react"
,
"jsx"
:
"react"
,
...
@@ -16,19 +16,16 @@
...
@@ -16,19 +16,16 @@
"noUnusedLocals"
:
true
,
"noUnusedLocals"
:
true
,
"allowJs"
:
true
,
"allowJs"
:
true
,
"experimentalDecorators"
:
true
,
"experimentalDecorators"
:
true
,
"strict"
:
true
,
"paths"
:
{
"paths"
:
{
"@/*"
:
[
"./
ant-design-pro/*/
src/*"
]
"@/*"
:
[
"./src/*"
]
}
}
},
},
"include"
:
[
".
/ant-design-pro
"
],
"include"
:
[
"."
],
"exclude"
:
[
"exclude"
:
[
"node_modules"
,
"node_modules"
,
"build"
,
"_scripts"
,
"scripts"
,
"acceptance-tests"
,
"webpack"
,
"jest"
,
"jest"
,
"src/setupTests.ts"
,
"tslint:latest"
,
"tslint:latest"
,
"tslint-config-prettier"
"tslint-config-prettier"
]
]
...
...
tslint.json
deleted
100644 → 0
View file @
7f420160
{
"extends"
:
[
"tslint:latest"
,
"tslint-react"
,
"tslint-config-prettier"
],
"rules"
:
{
"no-var-requires"
:
false
,
"no-submodule-imports"
:
false
,
"object-literal-sort-keys"
:
false
,
"jsx-no-lambda"
:
false
,
"no-implicit-dependencies"
:
false
,
"no-console"
:
false
}
}
tslint.yml
0 → 100644
View file @
a5957211
defaultSeverity
:
error
extends
:
-
tslint-react
-
tslint-eslint-rules
-
tslint-config-prettier
jsRules
:
rules
:
class-name
:
true
eofline
:
true
forin
:
true
jsdoc-format
:
false
label-position
:
true
member-ordering
:
-
true
-
order
:
statics-first
new-parens
:
true
no-arg
:
true
no-bitwise
:
true
no-conditional-assignment
:
true
no-consecutive-blank-lines
:
true
no-console
:
-
true
-
debug
-
info
-
log
-
time
-
timeEnd
-
trace
-
warn
no-construct
:
true
no-debugger
:
true
no-duplicate-variable
:
true
no-eval
:
true
no-internal-module
:
true
no-multi-spaces
:
true
no-namespace
:
true
no-reference
:
true
no-shadowed-variable
:
true
no-string-literal
:
true
no-trailing-whitespace
:
true
no-unused-expression
:
true
no-var-keyword
:
true
one-variable-per-declaration
:
-
true
-
ignore-for-loop
prefer-const
:
-
true
-
destructuring
:
all
radix
:
true
space-in-parens
:
true
switch-default
:
true
trailing-comma
:
-
true
-
singleline
:
never
multiline
:
always
esSpecCompliant
:
true
triple-equals
:
-
true
-
allow-null-check
typedef-whitespace
:
-
true
-
call-signature
:
nospace
index-signature
:
nospace
parameter
:
nospace
property-declaration
:
nospace
variable-declaration
:
nospace
-
call-signature
:
onespace
index-signature
:
onespace
parameter
:
onespace
property-declaration
:
onespace
variable-declaration
:
onespace
use-isnan
:
true
variable-name
:
-
true
-
allow-leading-underscore
-
ban-keywords
-
check-format
-
allow-pascal-case
jsx-no-lambda
:
false
jsx-no-string-ref
:
false
jsx-boolean-value
:
-
true
-
never
jsx-no-multiline-js
:
false
whitespace
:
-
true
-
check-branch
-
check-decl
-
check-operator
-
check-module
-
check-separator
-
check-rest-spread
-
check-type
-
check-type-operator
-
check-preblock
typings.d.ts
0 → 100644
View file @
a5957211
declare
module
'
*.css
'
;
declare
module
'
*.less
'
;
declare
module
'
*.scss
'
;
declare
module
'
*.sass
'
;
declare
module
'
*.svg
'
;
declare
module
'
*.png
'
;
declare
module
'
*.jpg
'
;
declare
module
'
*.jpeg
'
;
declare
module
'
*.gif
'
;
declare
module
'
*.bmp
'
;
declare
module
'
*.tiff
'
;
declare
var
APP_TYPE
:
string
;
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