Last active
July 19, 2021 03:27
-
-
Save ktakayama/c9b4b8015d4151c96c769d6744521fbb to your computer and use it in GitHub Desktop.
efm-langserver with textlint
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
{ | |
"rules": { | |
"preset-ja-technical-writing": { | |
"sentence-length": false, | |
"max-comma": false, | |
"max-ten": false, | |
"arabic-kanji-numbers": false, | |
"ja-no-mixed-period": false, | |
"no-doubled-joshi": false, | |
"no-exclamation-question-mark": false, | |
"ja-no-weak-phrase": false, | |
"no-unmatched-pair": false, | |
}, | |
"prefer-tari-tari": true, | |
"@textlint-ja/textlint-rule-no-insert-dropping-sa": true | |
}, | |
"plugins": { | |
"html": { | |
"extensions": [".ctp",".html"] | |
} | |
} | |
} |
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
{ | |
"languageserver": { | |
"efm": { | |
"command": "efm-langserver", | |
"args": [], | |
"filetypes": ["markdown","php","html","text"] | |
} | |
}, | |
"suggest.asciiCharactersOnly": true | |
} |
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
version: 2 | |
root-markers: | |
- .git/ | |
tools: | |
textlint: &textlint | |
lint-command: 'textlint -c ~/.textlintrc --format unix --stdin --stdin-filename ${INPUT}' | |
lint-ignore-exit-code: true | |
lint-stdin: true | |
lint-formats: | |
- '%f:%l:%c: %m' | |
root-markers: | |
- .textlintrc | |
languages: | |
markdown: | |
- <<: *textlint | |
text: | |
- <<: *textlint | |
php: | |
- <<: *textlint | |
html: | |
- <<: *textlint | |
Author
ktakayama
commented
Jun 27, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment