Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 24e749d0
authored
Apr 03, 2019
by
Wei-Liang Liou
Committed by
Sushant
Apr 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: markdown lint (#10692)
1 parent
6b659987
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
6 deletions
.markdownlint.json
.travis.yml
docs/index.md
docs/typescript.md
package.json
.markdownlint.json
0 → 100644
View file @
24e749d
{
"default"
:
false
,
"ul-style"
:
true
,
"list-indent"
:
true
,
"ul-start-left"
:
true
,
"ul-indent"
:
true
,
"no-trailing-spaces"
:
true
,
"no-hard-tabs"
:
true
,
"no-reversed-links"
:
true
,
"no-multiple-blanks"
:
true
,
"no-missing-space-atx"
:
true
,
"no-multiple-space-atx"
:
true
,
"no-missing-space-closed-atx"
:
true
,
"no-multiple-space-closed-atx"
:
true
,
"blanks-around-headings"
:
true
,
"heading-start-left"
:
true
,
"no-duplicate-heading"
:
{
"siblings_only"
:
true
},
"single-h1"
:
{
"level"
:
1
},
"no-multiple-space-blockquote"
:
true
,
"ol-prefix"
:
{
"style"
:
"one_or_ordered"
},
"list-marker-space"
:
true
,
"blanks-around-fences"
:
true
,
"blanks-around-lists"
:
true
,
"no-bare-urls"
:
true
,
"hr-style"
:
true
,
"no-space-in-emphasis"
:
true
,
"no-space-in-code"
:
true
,
"no-space-in-links"
:
true
,
"fenced-code-language"
:
true
,
"no-empty-links"
:
true
,
"no-alt-text"
:
true
}
\ No newline at end of file
.travis.yml
View file @
24e749d
...
...
@@ -38,6 +38,7 @@ before_script:
script
:
-
npm run lint
-
npm run lint-docs
-
|-
if [ "$COVERAGE" = true ]; then npm run cover && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info; else npm run test; fi
- |-
...
...
docs/index.md
View file @
24e749d
...
...
@@ -2,7 +2,7 @@
<div
class=
"center logo"
>
!
[
logo
](
/manual/asset/logo-small.png
)
</div>
<div
class=
"center sequelize"
>
Sequelize
</
span
>
<div
class=
"center sequelize"
>
Sequelize
</
div
>
</div>
[

](https://www.npmjs.com/package/sequelize)
...
...
docs/typescript.md
View file @
24e749d
...
...
@@ -7,9 +7,10 @@ As Sequelize heavily relies on runtime property assignments, TypeScript won't be
## Installation
In order to avoid installation bloat for non TS users, you must install the following typing packages manually:
-
`@types/node`
(this is universally required)
-
`@types/validator`
-
`@types/bluebird`
-
`@types/node`
(this is universally required)
-
`@types/validator`
-
`@types/bluebird`
## Usage
...
...
package.json
View file @
24e749d
...
...
@@ -71,6 +71,7 @@
"lcov-result-merger"
:
"^3.0.0"
,
"lint-staged"
:
"^8.1.5"
,
"mariadb"
:
"^2.0.3"
,
"markdownlint-cli"
:
"^0.14.1"
,
"mocha"
:
"^6.0.2"
,
"mysql2"
:
"^1.6.5"
,
"nyc"
:
"^13.3.0"
,
...
...
@@ -78,12 +79,12 @@
"pg-hstore"
:
"^2.x"
,
"pg-types"
:
"^2.0.0"
,
"rimraf"
:
"^2.6.3"
,
"semantic-release"
:
"^15.13.3"
,
"sinon"
:
"^7.2.6"
,
"sinon-chai"
:
"^3.2.0"
,
"sqlite3"
:
"^4.0.6"
,
"tedious"
:
"^6.0.0"
,
"typescript"
:
"^3.3.3333"
,
"semantic-release"
:
"^15.13.3"
"typescript"
:
"^3.3.3333"
},
"keywords"
:
[
"mysql"
,
...
...
@@ -115,6 +116,7 @@
},
"scripts"
:
{
"lint"
:
"eslint lib test --quiet"
,
"lint-docs"
:
"markdownlint docs"
,
"test"
:
"npm run teaser && npm run test-unit && npm run test-integration"
,
"test-docker"
:
"npm run test-docker-unit && npm run test-docker-integration"
,
"test-docker-unit"
:
"npm run test-unit"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment