Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: textlint (#971 #926) #985

Merged
merged 21 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
bcf021a
chore: textlint basic environment settings
lumirlumir Jul 2, 2024
e986a49
Merge branch 'reactjs:main' into develop
lumirlumir Jul 2, 2024
32298f3
feat: basic implementation of translateGlossary.js
lumirlumir Jul 2, 2024
b5df769
Merge branch 'reactjs:main' into feature-tg
lumirlumir Jul 3, 2024
085b6c6
chore: textlint testing environment settings
lumirlumir Jul 4, 2024
b9acd0c
test: new tests about strip.js
lumirlumir Jul 5, 2024
0b4d0f7
test: new tests about is.js
lumirlumir Jul 5, 2024
8150c6d
test: new tests about errMsg.js
lumirlumir Jul 5, 2024
72c5fec
feat: new rule translateGlossary.js
lumirlumir Jul 5, 2024
3e62fd4
Merge branch 'reactjs:main' into feature-tg
lumirlumir Jul 5, 2024
5bacb61
fix: incorrect regex in translateGlossary.js
lumirlumir Jul 5, 2024
37d3539
test: new tests about translateGlossary.js
lumirlumir Jul 5, 2024
e2422f3
rename: textlint/data/tests -> textlint/data/utils
lumirlumir Jul 5, 2024
4054a46
fix: correct path handling for textlint/tests/utils
lumirlumir Jul 6, 2024
a77ce93
refactor: change the structure of textlint/data/rules/translateGlossa…
lumirlumir Jul 6, 2024
5968a68
refactor: change the structure of textlint/data/rules/translateGlossa…
lumirlumir Jul 7, 2024
d2d303a
feat: add genTranslateGlossaryDocs.js
lumirlumir Jul 7, 2024
f7bc9d3
rename: textlint/README.md -> wiki/textlint/what-is-textlint.md
lumirlumir Jul 7, 2024
c7d0405
feat: new scripts for textlint
lumirlumir Jul 7, 2024
7d496cd
Merge branch 'main' into feature-tg
hg-pyun Jul 11, 2024
781f468
Merge branch 'main' into feature-tg
hg-pyun Jul 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ public/fonts/**/Optimistic_*.woff2

# rss
public/rss.xml

# textlint
wiki/textlint/translate-glossary.md
5 changes: 5 additions & 0 deletions .textlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"filters": {
"comments": true
}
}
6 changes: 0 additions & 6 deletions .textlintrc.js

This file was deleted.

9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"start": "next start",
"postinstall": "patch-package && (is-ci || husky install .husky)",
"check-all": "npm-run-all prettier lint:fix tsc rss",
"rss": "node scripts/generateRss.js"
"rss": "node scripts/generateRss.js",
"textlint-test": "yarn mocha ./textlint/tests/utils && yarn mocha ./textlint/tests/rules",
"textlint-docs": "node ./textlint/generators/genTranslateGlossaryDocs.js",
"textlint-lint": "yarn textlint ./src/content --rulesdir ./textlint/rules -f pretty-error"
},
"dependencies": {
"@codesandbox/sandpack-react": "2.13.5",
Expand Down Expand Up @@ -76,6 +79,7 @@
"lint-staged": ">=10",
"mdast-util-to-string": "^1.1.0",
"metro-cache": "0.72.2",
"mocha": "^10.6.0",
"npm-run-all": "^4.1.5",
"patch-package": "^6.2.2",
"postcss": "^8.4.5",
Expand All @@ -93,6 +97,9 @@
"retext-smartypants": "^4.0.0",
"rss": "^1.2.2",
"tailwindcss": "^3.4.1",
"textlint": "^14.0.4",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-tester": "^14.0.4",
"typescript": "^4.0.2",
"unist-util-visit": "^2.0.3",
"webpack-bundle-analyzer": "^4.5.0"
Expand Down
Loading
Loading