We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4103ac5 commit a243066Copy full SHA for a243066
index.js
@@ -5,11 +5,11 @@ var toString = require('nlcst-to-string');
5
module.exports = isLiteral;
6
7
var single = {
8
- '-': true, // hyphen-minus
9
- '–': true, // en-dash
10
- '—': true, // em-dash
11
- ':': true, // colon
12
- ';': true // semicolon
+ '-': true, // Hyphen-minus
+ '–': true, // En dash
+ '—': true, // Em dash
+ ':': true, // Colon
+ ';': true // Semi-colon
13
};
14
15
/* Pair delimiters. From common sense, and wikipedia:
package.json
@@ -53,6 +53,9 @@
53
"xo": {
54
"space": true,
55
"esnext": false,
56
+ "rules": {
57
+ "unicorn/prefer-type-error": "off"
58
+ },
59
"ignore": [
60
"nlcst-is-literal.js"
61
]
0 commit comments