<commit_before>'use babel'

import {Motion} from './main'
import {ensureUninstalled} from './helpers'

module.exports = {
  config: {
    liveReload: {
      description: 'Automatically reload motion page in editor',
      type: 'boolean',
      default: true
    }
  },
  activate() {
    require('atom-package-deps').install().then(function() {
      atom.config.set('color-picker.automaticReplace', true)
      atom.config.set('autocomplete-plus.enableBuiltinProvider', false)
      atom.packages.disablePackage('autocomplete-snippets')
    })
    this.motion = new Motion()
    this.motion.activate()
    ensureUninstalled('steel-flint')
    ensureUninstalled('intelli-colorpicker')
    ensureUninstalled('number-range')
    ensureUninstalled('flint')
    ensureUninstalled('language-flint')
    ensureUninstalled('language-motion')
  },
  consumeStatusbar(statusBar) {
    this.motion.consumeStatusbar(statusBar)
  },
  provideAutocomplete() {
    return this.motion.provideAutocomplete()
  },
  provideDeclarations() {
    return this.motion.provideDeclarations()
  },
  provideLinter() {<commit_msg>:bug: Do not disable autocomplete-snippets<commit_after>'use babel'

import {Motion} from './main'
import {ensureUninstalled} from './helpers'

module.exports = {
  config: {
    liveReload: {
      description: 'Automatically reload motion page in editor',
      type: 'boolean',
      default: true
    }
  },
  activate() {
    require('atom-package-deps').install().then(function() {
      atom.config.set('color-picker.automaticReplace', true)
      atom.config.set('autocomplete-plus.enableBuiltinProvider', false)
    })
    this.motion = new Motion()
    this.motion.activate()
    ensureUninstalled('steel-flint')
    ensureUninstalled('intelli-colorpicker')
    ensureUninstalled('number-range')
    ensureUninstalled('flint')
    ensureUninstalled('language-flint')
    ensureUninstalled('language-motion')
  },
  consumeStatusbar(statusBar) {
    this.motion.consumeStatusbar(statusBar)
  },
  provideAutocomplete() {
    return this.motion.provideAutocomplete()
  },
  provideDeclarations() {
    return this.motion.provideDeclarations()
  },
  provideLinter() {
{'fraction_non_alphanumeric': 0.13480055020632736, 'fraction_numerical': 0.0, 'mean_word_length': 3.9817351598173514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1717834', 'n_tokens_mistral': 689, 'n_tokens_neox': 644, 'n_words': 103}