Skip to content

Commit a243066

Browse files
committed
Refactor code-style
1 parent 4103ac5 commit a243066

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ var toString = require('nlcst-to-string');
55
module.exports = isLiteral;
66

77
var single = {
8-
'-': true, // hyphen-minus
9-
'–': true, // en-dash
10-
'—': true, // em-dash
11-
':': true, // colon
12-
';': true // semicolon
8+
'-': true, // Hyphen-minus
9+
'–': true, // En dash
10+
'—': true, // Em dash
11+
':': true, // Colon
12+
';': true // Semi-colon
1313
};
1414

1515
/* Pair delimiters. From common sense, and wikipedia:

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"xo": {
5454
"space": true,
5555
"esnext": false,
56+
"rules": {
57+
"unicorn/prefer-type-error": "off"
58+
},
5659
"ignore": [
5760
"nlcst-is-literal.js"
5861
]

0 commit comments

Comments
 (0)