Update pretier fix
This commit is contained in:
parent
7a3102b438
commit
a058fe7d1f
3 changed files with 16 additions and 20 deletions
|
|
@ -1,12 +0,0 @@
|
|||
/* eslint-disable import/no-commonjs */
|
||||
module.exports = {
|
||||
overrides: [
|
||||
{
|
||||
files: '*.md',
|
||||
options: {
|
||||
printWidth: 80,
|
||||
parser: 'markdown',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
5
docs/.prettierrc.markdown.js
Normal file
5
docs/.prettierrc.markdown.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* eslint-disable import/no-commonjs */
|
||||
module.exports = {
|
||||
parser: 'markdown',
|
||||
printWidth: 80,
|
||||
};
|
||||
|
|
@ -1,11 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
REMARK_MODE=fix \
|
||||
remark \
|
||||
--quiet \
|
||||
./src/*.md \
|
||||
--output
|
||||
# REMARK_MODE=fix \
|
||||
# remark \
|
||||
# --quiet \
|
||||
# ./src/*.md \
|
||||
# --output
|
||||
|
||||
textlint \
|
||||
--fix \
|
||||
./src/*.md
|
||||
# textlint \
|
||||
# --fix \
|
||||
# ./src/*.md
|
||||
|
||||
prettier \
|
||||
--config ./.prettierrc.markdown.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue