mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-12 15:25:58 +00:00
initial config
This commit is contained in:
parent
8330461aac
commit
9cac850355
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
.DS_Store
|
||||
/node_modules/
|
||||
/docs/.vuepress/dist/
|
||||
/docs/.vuepress/.cache/
|
||||
/docs/.vuepress/.temp/
|
||||
/.github/webhooks/hooks.json
|
||||
40
.textlintrc.js
Normal file
40
.textlintrc.js
Normal file
@ -0,0 +1,40 @@
|
||||
module.exports = {
|
||||
rules: {
|
||||
'no-todo': true,
|
||||
'no-start-duplicated-conjunction': {
|
||||
interval : 2, // interval of sentences
|
||||
},
|
||||
'max-comma': {
|
||||
max : 4,
|
||||
},
|
||||
/*'no-dead-link': {
|
||||
checkRelative: true,
|
||||
baseURI: null,
|
||||
ignore: ['http://localhost*'],
|
||||
preferGET: [],
|
||||
ignoreRedirects: false,
|
||||
retry: 3,
|
||||
userAgent: 'textlint-rule-no-dead-link/1.0',
|
||||
maxRetryTime: 10,
|
||||
maxRetryAfterTime: 90
|
||||
},*/
|
||||
'no-empty-section': true,
|
||||
'textlint-rule-no-empty-element': true,
|
||||
'period-in-list-item': true,
|
||||
'@textlint-rule/no-unmatched-pair': true,
|
||||
'no-zero-width-spaces': true,
|
||||
'doubled-spaces': true,
|
||||
'common-misspellings': {
|
||||
// Misspellings to be ignored (case-insensitive)
|
||||
ignore: [],
|
||||
},
|
||||
'write-good': {
|
||||
passive: false,
|
||||
thereIs: false
|
||||
},
|
||||
'apostrophe': true,
|
||||
},
|
||||
filters: {
|
||||
comments: true,
|
||||
},
|
||||
}
|
||||
11715
package-lock.json
generated
Normal file
11715
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
42
package.json
Normal file
42
package.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"name": "ocelot.social",
|
||||
"version": "1.0.0",
|
||||
"description": "The ocelot.social website",
|
||||
"author": "ocelot.social Community",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "vuepress build docs",
|
||||
"build-node16": "vuepress build docs",
|
||||
"dev": "vuepress dev docs",
|
||||
"test": "textlint \"*.md\" \"docs/**/*.md\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Ocelot-Social-Community/ocelot.social.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Ocelot-Social-Community/ocelot.social/issues"
|
||||
},
|
||||
"homepage": "https://ocelot.social",
|
||||
"devDependencies": {
|
||||
"@textlint-rule/textlint-rule-no-unmatched-pair": "^1.0.9",
|
||||
"textlint": "^13.4.0",
|
||||
"textlint-filter-rule-comments": "^1.2.2",
|
||||
"textlint-rule-apostrophe": "^2.0.0",
|
||||
"textlint-rule-common-misspellings": "^1.0.1",
|
||||
"textlint-rule-doubled-spaces": "^1.0.2",
|
||||
"textlint-rule-max-comma": "^3.0.1",
|
||||
"textlint-rule-no-dead-link": "^5.1.2",
|
||||
"textlint-rule-no-empty-element": "^0.3.1",
|
||||
"textlint-rule-no-empty-section": "^1.1.0",
|
||||
"textlint-rule-no-start-duplicated-conjunction": "^2.0.2",
|
||||
"textlint-rule-no-todo": "^2.0.1",
|
||||
"textlint-rule-no-zero-width-spaces": "^1.0.1",
|
||||
"textlint-rule-period-in-list-item": "^1.0.1",
|
||||
"textlint-rule-write-good": "^2.0.0",
|
||||
"vuepress": "^2.0.0-rc.0",
|
||||
"vuepress-plugin-search-pro": "^2.0.0-rc.0",
|
||||
"vuepress-theme-hope": "^2.0.0-rc.0"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user