1
0
Fork 0

Update pretier fix

This commit is contained in:
Pixelastic 2018-08-24 13:25:14 +02:00
parent 7a3102b438
commit a058fe7d1f
3 changed files with 16 additions and 20 deletions

View file

@ -1,12 +0,0 @@
/* eslint-disable import/no-commonjs */
module.exports = {
overrides: [
{
files: '*.md',
options: {
printWidth: 80,
parser: 'markdown',
},
},
],
};

View file

@ -0,0 +1,5 @@
/* eslint-disable import/no-commonjs */
module.exports = {
parser: 'markdown',
printWidth: 80,
};

View file

@ -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