config.js 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /*
  2. * Copy this file and use it as a starting point for your redeyed config.
  3. * Just fill in the tokens you want to surround/replace.
  4. * Keep in mind that more specific configurations override less specific ones.
  5. */
  6. module.exports = {
  7. 'Boolean': {
  8. 'true' : undefined
  9. , 'false' : undefined
  10. , _default : undefined
  11. }
  12. , 'Identifier': {
  13. _default: undefined
  14. }
  15. , 'Null': {
  16. _default: undefined
  17. }
  18. , 'Numeric': {
  19. _default: undefined
  20. }
  21. , 'String': {
  22. _default: undefined
  23. }
  24. , 'Keyword': {
  25. 'break' : undefined
  26. , 'case' : undefined
  27. , 'catch' : undefined
  28. , 'class' : undefined
  29. , 'const' : undefined
  30. , 'continue' : undefined
  31. , 'debugger' : undefined
  32. , 'default' : undefined
  33. , 'delete' : undefined
  34. , 'do' : undefined
  35. , 'else' : undefined
  36. , 'enum' : undefined
  37. , 'export' : undefined
  38. , 'extends' : undefined
  39. , 'finally' : undefined
  40. , 'for' : undefined
  41. , 'function' : undefined
  42. , 'if' : undefined
  43. , 'implements' : undefined
  44. , 'import' : undefined
  45. , 'in' : undefined
  46. , 'instanceof' : undefined
  47. , 'interface' : undefined
  48. , 'let' : undefined
  49. , 'new' : undefined
  50. , 'package' : undefined
  51. , 'private' : undefined
  52. , 'protected' : undefined
  53. , 'public' : undefined
  54. , 'return' : undefined
  55. , 'static' : undefined
  56. , 'super' : undefined
  57. , 'switch' : undefined
  58. , 'this' : undefined
  59. , 'throw' : undefined
  60. , 'try' : undefined
  61. , 'typeof' : undefined
  62. , 'var' : undefined
  63. , 'void' : undefined
  64. , 'while' : undefined
  65. , 'with' : undefined
  66. , 'yield' : undefined
  67. , _default : undefined
  68. }
  69. , 'Punctuator': {
  70. ';': undefined
  71. , '.': undefined
  72. , ',': undefined
  73. , '{': undefined
  74. , '}': undefined
  75. , '(': undefined
  76. , ')': undefined
  77. , '[': undefined
  78. , ']': undefined
  79. , '<': undefined
  80. , '>': undefined
  81. , '+': undefined
  82. , '-': undefined
  83. , '*': undefined
  84. , '%': undefined
  85. , '&': undefined
  86. , '|': undefined
  87. , '^': undefined
  88. , '!': undefined
  89. , '~': undefined
  90. , '?': undefined
  91. , ':': undefined
  92. , '=': undefined
  93. , '<=': undefined
  94. , '>=': undefined
  95. , '==': undefined
  96. , '!=': undefined
  97. , '++': undefined
  98. , '--': undefined
  99. , '<<': undefined
  100. , '>>': undefined
  101. , '&&': undefined
  102. , '||': undefined
  103. , '+=': undefined
  104. , '-=': undefined
  105. , '*=': undefined
  106. , '%=': undefined
  107. , '&=': undefined
  108. , '|=': undefined
  109. , '^=': undefined
  110. , '/=': undefined
  111. , '=>': undefined
  112. , '**': undefined
  113. , '===': undefined
  114. , '!==': undefined
  115. , '>>>': undefined
  116. , '<<=': undefined
  117. , '>>=': undefined
  118. , '...': undefined
  119. , '**=': undefined
  120. , '>>>=': undefined
  121. , _default: undefined
  122. }
  123. // line comment
  124. , Line: {
  125. _default: undefined
  126. }
  127. /* block comment */
  128. , Block: {
  129. _default: undefined
  130. }
  131. // JSX
  132. , JSXAttribute: {
  133. _default: undefined
  134. }
  135. , JSXClosingElement: {
  136. _default: undefined
  137. }
  138. , JSXElement: {
  139. _default: undefined
  140. }
  141. , JSXEmptyExpression: {
  142. _default: undefined
  143. }
  144. , JSXExpressionContainer: {
  145. _default: undefined
  146. }
  147. , JSXIdentifier: {
  148. // many more identifies are possible, div, table, etc.
  149. className: undefined
  150. , _default: undefined
  151. }
  152. , JSXMemberExpression: {
  153. _default: undefined
  154. }
  155. , JSXNamespacedName: {
  156. _default: undefined
  157. }
  158. , JSXOpeningElement: {
  159. _default: undefined
  160. }
  161. , JSXSpreadAttribute: {
  162. _default: undefined
  163. }
  164. , JSXText: {
  165. _default: undefined
  166. }
  167. , _default: undefined
  168. }