Skip to content

Instantly share code, notes, and snippets.

@simics-ja
Last active November 25, 2020 08:09
Show Gist options
  • Save simics-ja/0062836a2214446a2e4d7567a85954a5 to your computer and use it in GitHub Desktop.
Save simics-ja/0062836a2214446a2e4d7567a85954a5 to your computer and use it in GitHub Desktop.
[LaTeX向けのtextlint設定] #textlint #LaTeX
{
"filters": {},
"rules": {
"preset-ja-engineering-paper": true,
"preset-ja-spacing": true,
"preset-ja-technical-writing": {
"ja-no-mixed-period": {
"periodMark": "."
},
"max-kanji-continuous-len": {
max: 8,
allow: [
"日本機械学会論文集"
]
},
},
},
plugins: ["latex2e"]
}
{
"name": "hoge",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"textlint": "^11.7.6",
"textlint-plugin-latex2e": "^1.0.2",
"textlint-rule-preset-ja-engineering-paper": "^1.0.0",
"textlint-rule-preset-ja-spacing": "^2.0.2",
"textlint-rule-preset-ja-technical-writing": "^4.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment