mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
typograf: package.json task
This commit is contained in:
parent
b9f67a0ba2
commit
79575de3bd
2 changed files with 3 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const Typograf = require('typograf');
|
||||
const Typograf = require('typograf')
|
||||
const fs = require('fs')
|
||||
|
||||
if (!process.argv[2]) {
|
||||
|
|
@ -6,8 +6,6 @@ if (!process.argv[2]) {
|
|||
return
|
||||
}
|
||||
|
||||
/* */
|
||||
|
||||
const filePath =
|
||||
`${process.cwd()}/${process.argv[2]}`
|
||||
|
||||
|
|
@ -25,9 +23,7 @@ const tp = new Typograf({
|
|||
}
|
||||
})
|
||||
|
||||
tp.disableRule('*')
|
||||
|
||||
;[
|
||||
tp.disableRule('*');[
|
||||
'common/punctuation/quote',
|
||||
'common/nbsp/*',
|
||||
'ru/nbsp/*',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue