summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/figures/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/figures/index.js')
-rw-r--r--tools/eslint/node_modules/figures/index.js89
1 files changed, 89 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/figures/index.js b/tools/eslint/node_modules/figures/index.js
new file mode 100644
index 0000000000..aabd817a9c
--- /dev/null
+++ b/tools/eslint/node_modules/figures/index.js
@@ -0,0 +1,89 @@
+'use strict';
+var platform = process.platform;
+
+var main = {
+ tick: '✔',
+ cross: '✖',
+ star: '★',
+ square: '▇',
+ squareSmall: '◻',
+ squareSmallFilled: '◼',
+ circle: '◯',
+ circleFilled: '◉',
+ circleDotted: '◌',
+ circleDouble: '◎',
+ circleCircle: 'ⓞ',
+ circleCross: 'ⓧ',
+ circlePipe: 'Ⓘ',
+ circleQuestionMark: '?⃝',
+ bullet: '●',
+ dot: '․',
+ line: '─',
+ ellipsis: '…',
+ pointer: '❯',
+ pointerSmall: '›',
+ info: 'ℹ',
+ warning: '⚠',
+ hamburger: '☰',
+ smiley: '㋡',
+ mustache: '෴',
+ heart: '♥',
+ arrowUp: '↑',
+ arrowDown: '↓',
+ arrowLeft: '←',
+ arrowRight: '→',
+ radioOn: '◉',
+ radioOff: '◯',
+ checkboxOn: '☒',
+ checkboxOff: '☐',
+ checkboxCircleOn: 'ⓧ',
+ checkboxCircleOff: 'Ⓘ',
+ questionMarkPrefix: '?⃝'
+};
+
+var win = {
+ tick: '√',
+ cross: '×',
+ star: '*',
+ square: '█',
+ squareSmall: '[ ]',
+ squareSmallFilled: '[█]',
+ circle: '( )',
+ circleFilled: '(*)',
+ circleDotted: '( )',
+ circleDouble: '( )',
+ circleCircle: '(○)',
+ circleCross: '(×)',
+ circlePipe: '(│)',
+ circleQuestionMark: '(?)',
+ bullet: '*',
+ dot: '.',
+ line: '─',
+ ellipsis: '...',
+ pointer: '>',
+ pointerSmall: '»',
+ info: 'i',
+ warning: '‼',
+ hamburger: '≡',
+ smiley: '☺',
+ mustache: '┌─┐',
+ heart: main.heart,
+ arrowUp: main.arrowUp,
+ arrowDown: main.arrowDown,
+ arrowLeft: main.arrowLeft,
+ arrowRight: main.arrowRight,
+ radioOn: '(*)',
+ radioOff: '( )',
+ checkboxOn: '[×]',
+ checkboxOff: '[ ]',
+ checkboxCircleOn: '(×)',
+ checkboxCircleOff: '( )',
+ questionMarkPrefix: '?'
+};
+
+if (platform === 'linux') {
+ // the main one doesn't look that good on Ubuntu
+ main.questionMarkPrefix = '?';
+}
+
+module.exports = platform === 'win32' ? win : main;