-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
58 additions
and
70 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
'use strict' | ||
import {factory} from './factory.js' | ||
import {cuss} from 'cuss/ar-latn.js' | ||
|
||
var factory = require('./factory') | ||
const retextProfanitiesArLatn = factory({lang: 'ar-latn', cuss}) | ||
|
||
module.exports = factory({ | ||
lang: 'ar-latn', | ||
cuss: require('cuss/ar-latn') | ||
}) | ||
export default retextProfanitiesArLatn |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
'use strict' | ||
import {factory} from './factory.js' | ||
import {cuss} from 'cuss/es.js' | ||
|
||
var factory = require('./factory') | ||
const retextProfanitiesEs = factory({lang: 'es', cuss}) | ||
|
||
module.exports = factory({ | ||
lang: 'es', | ||
cuss: require('cuss/es') | ||
}) | ||
export default retextProfanitiesEs |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
'use strict' | ||
import {factory} from './factory.js' | ||
import {cuss} from 'cuss/fr.js' | ||
|
||
var factory = require('./factory') | ||
const retextProfanitiesFr = factory({lang: 'fr', cuss}) | ||
|
||
module.exports = factory({ | ||
lang: 'fr', | ||
cuss: require('cuss/fr') | ||
}) | ||
export default retextProfanitiesFr |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
'use strict' | ||
import retextProfanitiesEn from './en.js' | ||
|
||
module.exports = require('./en') | ||
export default retextProfanitiesEn |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
'use strict' | ||
import {factory} from './factory.js' | ||
import {cuss} from 'cuss/it.js' | ||
|
||
var factory = require('./factory') | ||
const retextProfanitiesIt = factory({lang: 'it', cuss}) | ||
|
||
module.exports = factory({ | ||
lang: 'it', | ||
cuss: require('cuss/it') | ||
}) | ||
export default retextProfanitiesIt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,18 +28,21 @@ | |
"Mathieu Jolivet", | ||
"Otacilio Saraiva Maia Neto <[email protected]>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js", | ||
"factory.js", | ||
"ar-latn.js", | ||
"en.js", | ||
"es.js", | ||
"factory.js", | ||
"fr.js", | ||
"index.js", | ||
"it.js", | ||
"pt-br.js" | ||
], | ||
"dependencies": { | ||
"cuss": "^1.15.0", | ||
"cuss": "^2.0.0", | ||
"lodash.difference": "^4.5.0", | ||
"lodash.intersection": "^4.4.0", | ||
"nlcst-search": "^2.0.0", | ||
|
@@ -57,7 +60,7 @@ | |
"retext": "^7.0.0", | ||
"tape": "^5.0.0", | ||
"unist-builder": "^2.0.0", | ||
"xo": "^0.37.0" | ||
"xo": "^0.39.0" | ||
}, | ||
"scripts": { | ||
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", | ||
|
@@ -75,8 +78,9 @@ | |
}, | ||
"xo": { | ||
"prettier": true, | ||
"esnext": false, | ||
"rules": { | ||
"no-var": "off", | ||
"prefer-arrow-callback": "off", | ||
"unicorn/no-array-callback-reference": "off", | ||
"unicorn/prefer-includes": "off", | ||
"guard-for-in": "off" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
'use strict' | ||
import {factory} from './factory.js' | ||
import {cuss} from 'cuss/pt-br.js' | ||
|
||
var factory = require('./factory') | ||
const retextProfanitiesPtBr = factory({lang: 'pt-br', cuss}) | ||
|
||
module.exports = factory({ | ||
lang: 'pt-br', | ||
cuss: require('cuss/pt-br') | ||
}) | ||
export default retextProfanitiesPtBr |
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
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