123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- /*
- * Copy this file and use it as a starting point for your redeyed config.
- * Just fill in the tokens you want to surround/replace.
- * Keep in mind that more specific configurations override less specific ones.
- */
- module.exports = {
- 'Boolean': {
- 'true' : undefined
- , 'false' : undefined
- , _default : undefined
- }
- , 'Identifier': {
- _default: undefined
- }
- , 'Null': {
- _default: undefined
- }
- , 'Numeric': {
- _default: undefined
- }
- , 'String': {
- _default: undefined
- }
- , 'Keyword': {
- 'break' : undefined
- , 'case' : undefined
- , 'catch' : undefined
- , 'class' : undefined
- , 'const' : undefined
- , 'continue' : undefined
- , 'debugger' : undefined
- , 'default' : undefined
- , 'delete' : undefined
- , 'do' : undefined
- , 'else' : undefined
- , 'enum' : undefined
- , 'export' : undefined
- , 'extends' : undefined
- , 'finally' : undefined
- , 'for' : undefined
- , 'function' : undefined
- , 'if' : undefined
- , 'implements' : undefined
- , 'import' : undefined
- , 'in' : undefined
- , 'instanceof' : undefined
- , 'interface' : undefined
- , 'let' : undefined
- , 'new' : undefined
- , 'package' : undefined
- , 'private' : undefined
- , 'protected' : undefined
- , 'public' : undefined
- , 'return' : undefined
- , 'static' : undefined
- , 'super' : undefined
- , 'switch' : undefined
- , 'this' : undefined
- , 'throw' : undefined
- , 'try' : undefined
- , 'typeof' : undefined
- , 'var' : undefined
- , 'void' : undefined
- , 'while' : undefined
- , 'with' : undefined
- , 'yield' : undefined
- , _default : undefined
- }
- , 'Punctuator': {
- ';': undefined
- , '.': undefined
- , ',': undefined
- , '{': undefined
- , '}': undefined
- , '(': undefined
- , ')': undefined
- , '[': undefined
- , ']': undefined
- , '<': undefined
- , '>': undefined
- , '+': undefined
- , '-': undefined
- , '*': undefined
- , '%': undefined
- , '&': undefined
- , '|': undefined
- , '^': undefined
- , '!': undefined
- , '~': undefined
- , '?': undefined
- , ':': undefined
- , '=': undefined
- , '<=': undefined
- , '>=': undefined
- , '==': undefined
- , '!=': undefined
- , '++': undefined
- , '--': undefined
- , '<<': undefined
- , '>>': undefined
- , '&&': undefined
- , '||': undefined
- , '+=': undefined
- , '-=': undefined
- , '*=': undefined
- , '%=': undefined
- , '&=': undefined
- , '|=': undefined
- , '^=': undefined
- , '/=': undefined
- , '=>': undefined
- , '**': undefined
- , '===': undefined
- , '!==': undefined
- , '>>>': undefined
- , '<<=': undefined
- , '>>=': undefined
- , '...': undefined
- , '**=': undefined
- , '>>>=': undefined
- , _default: undefined
- }
- // line comment
- , Line: {
- _default: undefined
- }
- /* block comment */
- , Block: {
- _default: undefined
- }
- // JSX
- , JSXAttribute: {
- _default: undefined
- }
- , JSXClosingElement: {
- _default: undefined
- }
- , JSXElement: {
- _default: undefined
- }
- , JSXEmptyExpression: {
- _default: undefined
- }
- , JSXExpressionContainer: {
- _default: undefined
- }
- , JSXIdentifier: {
- // many more identifies are possible, div, table, etc.
- className: undefined
- , _default: undefined
- }
- , JSXMemberExpression: {
- _default: undefined
- }
- , JSXNamespacedName: {
- _default: undefined
- }
- , JSXOpeningElement: {
- _default: undefined
- }
- , JSXSpreadAttribute: {
- _default: undefined
- }
- , JSXText: {
- _default: undefined
- }
- , _default: undefined
- }
|