-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite ALL!!! ## Breaking Changes - Require [textlint v13.0.0](https://textlint.github.io/blog/2023/01/27/textlint-13.html)+ - html plugin is written in Pure ESM - Require Node.js 16+ - Convert JavaScript to TypeScript ## Features - use [rehype](https://github.com/rehypejs/rehype#readme) instead of hast - support `<h1>` ... `<h6>`'s `levels` - support `<ul>` and `<ol>` - support `<img />`'s `alt` and `title` - support `<a>`'s `title` ## Bug Fixes fix #19 fix textlint-ja/textlint-rule-no-synonyms#4 fix #2 close #15 - It looks like rule implementation issue https://github.com/KeitaMoromizato/textlint-rule-max-appearence-count-of-words/blob/master/src/max-appearence-count-of-words.js ## Testings - New snapshot testing - Tree Dump view for human 📝 Welcome to contribute! We looking for new maintainer! - #21
- Loading branch information
Showing
166 changed files
with
26,480 additions
and
10,930 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
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
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,6 +1,8 @@ | ||
{ | ||
"timeout": "5000", | ||
"require": [ | ||
"@babel/register" | ||
] | ||
"$schema": "https://json.schemastore.org/mocharc", | ||
"loader": "ts-node/esm", | ||
"spec": [ | ||
"test/**/*.{js,ts}" | ||
], | ||
"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
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,30 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- 'Type: Meta' | ||
- 'Type: Question' | ||
- 'Type: Release' | ||
|
||
categories: | ||
- title: Security Fixes | ||
labels: ['Type: Security'] | ||
- title: Breaking Changes | ||
labels: ['Type: Breaking Change'] | ||
- title: Features | ||
labels: ['Type: Feature'] | ||
- title: Bug Fixes | ||
labels: ['Type: Bug'] | ||
- title: Documentation | ||
labels: ['Type: Documentation'] | ||
- title: Refactoring | ||
labels: ['Type: Refactoring'] | ||
- title: Testing | ||
labels: ['Type: Testing'] | ||
- title: Maintenance | ||
labels: ['Type: Maintenance'] | ||
- title: CI | ||
labels: ['Type: CI'] | ||
- title: Dependency Updates | ||
labels: ['Type: Dependencies', "dependencies"] | ||
- title: Other Changes | ||
labels: ['*'] |
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,11 @@ | ||
{ | ||
"plugins": [ | ||
"html" | ||
], | ||
"filters": {}, | ||
"rules": { | ||
"preset-ja-technical-writing": { | ||
"ja-no-mixed-period": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"private": true, | ||
"name": "example", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "textlint test/ -f pretty-error || exit 0" | ||
}, | ||
"workspaces": [ | ||
"../" | ||
], | ||
"author": "azu", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"textlint": "^13.0.5", | ||
"textlint-rule-preset-ja-technical-writing": "^7.0.0", | ||
"textlint-plugin-html": "^0.3.0" | ||
} | ||
} |
Oops, something went wrong.