borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
558 stars 18 forks source link

Comment failed to match #86

Closed crapthings closed 6 years ago

crapthings commented 6 years ago

image

i can't copy the whole code, but this can test failed

import { HTTP } from 'meteor/http';
import lodash from 'lodash';

import Collections from '../../lib/collections';
import ActivityTable from '../../lib/activity_table';
import { GroupTypes } from '../../lib/statics';
import CloudStorage from '../cloud_storage';
import { checkMyPermission } from './permissions';
import { checkGroupMembership } from '../methods/membership';
import utils from '../utils';
import {register} from './users';
import {attachDocumentUrl} from '../../imports/api/service/store.js';

const reportServer = process.env.CUBE_REPORT_SERVICE;

// eslint-disable-next-line
const {Users, Groups, Issues, Activities, GroupMembers, Tags, Documents, IssueMembers} = Collections;

const { Meteor, Match, check, _, Accounts } = global;
const { yieldActivity } = utils;
borela commented 6 years ago

I disabled eslint highlighting which should fix this issue until a better implementation is added. https://github.com/borela/naomi/releases/tag/v3.7.1

taylorkline commented 5 years ago

@borela I am encountering this on 4.3.0 in JSX.

Screen Shot 2019-05-28 at 4 21 16 PM