Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(deps): update dependencies * chore(deps): add lock * feat(data-type): add BigInt section * Revert "feat(data-type): add BigInt section" This reverts commit 1ef27b1. * chore(deps): update @babel/parser for parsing es2020 * chore(deps): downgrade work-box * chore(deps): sudachiを^4.1.0にダウングレード * fix(textlint): textlintのエラーを修正
- Loading branch information
Showing
22 changed files
with
7,347 additions
and
2,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env" | ||
], | ||
"env": { | ||
"development": { | ||
"presets": [ | ||
"jsdoc-to-assert", | ||
"power-assert" | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"require": [ | ||
"@babel/register" | ||
], | ||
"timeout": "10000" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,111 @@ | ||
const IS_LINK_CHECK = !!process.env.LINK_CHECK; | ||
module.exports = { | ||
"filters": { | ||
"comments": true, | ||
"whitelist": { | ||
"allow": [ | ||
"/{#[a-z.-]*?}/g", | ||
"/{{[a-zA-Z.]*?}}/g", | ||
"と考えるかもしれません" | ||
] | ||
} | ||
}, | ||
"rules": { | ||
"@textlint-ja/no-synonyms": { | ||
"allows": ["アプリ", "ウェブアプリ"] | ||
}, | ||
// 使っては行けない変数、関数名 | ||
// 詳細: https://github.com/asciidwango/js-primer/issues/804 | ||
"inline-code-denylist": { | ||
"denylist": ["string", "number", "object", "boolean", "symbol"] | ||
}, | ||
"no-use-column": true, | ||
"footnote-order": true, | ||
"@textlint-rule/no-unmatched-pair": true, | ||
"@textlint-rule/require-header-id": true, | ||
// 箇条書きには。を付けない | ||
"period-in-list-item": { | ||
"periodMark": "" | ||
}, | ||
"no-js-function-paren": { | ||
"allow": [ | ||
"Symbol" | ||
] | ||
"filters": { | ||
"comments": true, | ||
"whitelist": { | ||
"allow": [ | ||
"/{#[a-z.-]*?}/g", | ||
"/{{[a-zA-Z.]*?}}/g", | ||
"と考えるかもしれません" | ||
] | ||
} | ||
}, | ||
"preset-ja-technical-writing": { | ||
"sentence-length": { | ||
"max": 95, | ||
"exclusionPatterns": [ | ||
// 文末の(...)。はカウントしない | ||
"/(.*?)。$/" | ||
] | ||
}, | ||
"no-exclamation-question-mark": { | ||
"allowFullWidthQuestion": true | ||
}, | ||
"max-kanji-continuous-len": { | ||
"max": 6, | ||
"allow": [ | ||
"浮動小数点数", | ||
"排他的論理和", | ||
"文字列演算子", | ||
"厳密等価演算子", | ||
"不等価演算子", | ||
"厳密比較演算子", | ||
"厳密不等価演算子", | ||
"論理積演算子", | ||
"論理和演算子", | ||
"排他的論理和演算子", | ||
"文字列結合演算子", | ||
"符号化文字集合" | ||
] | ||
}, | ||
"no-invalid-control-character": { | ||
"checkCode": true | ||
} | ||
}, | ||
"eslint": { | ||
"configFile": "./config/markdown.eslintrc.js" | ||
}, | ||
"prh": { | ||
"rulePaths": [ | ||
"prh.yml" | ||
] | ||
}, | ||
// npm run textlint-linkでのみ外部URLをチェックする | ||
"no-dead-link": IS_LINK_CHECK | ||
? { | ||
"concurrency": 8, | ||
"keepAlive": false, | ||
"ignore": [ | ||
"https://github.com/asciidwango/js-primer/issues/new?*", | ||
"https://goo.gl/**", | ||
"https://forms.gle/**", | ||
"http://localhost:3000/**", | ||
// .es が正式なのか不明であるため | ||
// https://github.com/tc39/ecma262/pull/1576 | ||
"https:/tc39.github.io/**" | ||
] | ||
} | ||
: false | ||
} | ||
"rules": { | ||
"@textlint-ja/no-synonyms": { | ||
"allows": ["アプリ", "ウェブアプリ"] | ||
}, | ||
// 使っては行けない変数、関数名 | ||
// 詳細: https://github.com/asciidwango/js-primer/issues/804 | ||
"inline-code-denylist": { | ||
"denylist": ["string", "number", "object", "boolean", "symbol"] | ||
}, | ||
"no-use-column": true, | ||
"footnote-order": true, | ||
"@textlint-rule/no-unmatched-pair": true, | ||
"@textlint-rule/require-header-id": true, | ||
// 箇条書きには。を付けない | ||
"period-in-list-item": { | ||
"periodMark": "" | ||
}, | ||
"no-js-function-paren": { | ||
"allow": [ | ||
"Symbol" | ||
] | ||
}, | ||
"preset-ja-technical-writing": { | ||
"ja-no-redundant-expression": { | ||
"dictOptions": { | ||
// "すること[助詞]できる" | ||
// https://github.com/textlint-ja/textlint-rule-ja-no-redundant-expression#dict2 | ||
"dict2": { | ||
"disabled": true | ||
}, | ||
"dict5": { | ||
"allows": [ | ||
"/読み書き/", | ||
"/通信/", | ||
// デフォルトの許可リストは上書きされるので、維持したい場合は追加する | ||
"/^処理を行[ぁ-ん]/", | ||
"/^[ァ-ヶ]+を.?行[ぁ-ん]/", | ||
"/^[a-zA-Z]+を.?行[ぁ-ん]/", | ||
] | ||
} | ||
} | ||
}, | ||
"sentence-length": { | ||
"max": 95, | ||
"exclusionPatterns": [ | ||
// 文末の(...)。はカウントしない | ||
"/(.*?)。$/" | ||
] | ||
}, | ||
"no-exclamation-question-mark": { | ||
"allowFullWidthQuestion": true | ||
}, | ||
"max-kanji-continuous-len": { | ||
"max": 6, | ||
"allow": [ | ||
"浮動小数点数", | ||
"排他的論理和", | ||
"文字列演算子", | ||
"厳密等価演算子", | ||
"不等価演算子", | ||
"厳密比較演算子", | ||
"厳密不等価演算子", | ||
"論理積演算子", | ||
"論理和演算子", | ||
"排他的論理和演算子", | ||
"文字列結合演算子", | ||
"符号化文字集合" | ||
] | ||
}, | ||
"no-invalid-control-character": { | ||
"checkCode": true | ||
} | ||
}, | ||
"eslint": { | ||
"configFile": "./config/markdown.eslintrc.js" | ||
}, | ||
"prh": { | ||
"rulePaths": [ | ||
"prh.yml" | ||
] | ||
}, | ||
// npm run textlint-linkでのみ外部URLをチェックする | ||
"no-dead-link": IS_LINK_CHECK | ||
? { | ||
"concurrency": 8, | ||
"keepAlive": false, | ||
"ignore": [ | ||
"https://github.com/asciidwango/js-primer/issues/new?*", | ||
"https://goo.gl/**", | ||
"https://forms.gle/**", | ||
"http://localhost:3000/**", | ||
// .es が正式なのか不明であるため | ||
// https://github.com/tc39/ecma262/pull/1576 | ||
"https:/tc39.github.io/**" | ||
] | ||
} | ||
: false | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.