<commit_before>// NG2
import { Component } from '@angular/core';
// App
import { TranslateService } from './../../../src/chomsky-ng2';
const template = require('./App.html');

@Component({
    selector: 'demo-app',
    template: template
})
export class DemoApp {
    constructor(translateService:TranslateService) {
        // Local instance
        this.translateService = translateService;
        // Locales
        this.usLocale = 'en-US';
        this.frLocale = 'fr-FR';
        this.ruLocale = 'ru-RU';
        // Listen for changes
        this.translateService.onLocaleChange.subscribe(locale => {
            console.log(`[Language Change]: ${locale}`); // eslint-disable-line
        });
        // Use en-US
        this.translateService.use(this.usLocale);
        // TODO: log out a replayed var if null and then the value is fulfilled.
        // Variable for today
        this.localToday = new Date();
        this.greeting = 'greeting';
        this.demoVariables = {
            today: new Date(),
            name: 'Jane',
            balance: 9874.34
        };
    }

    changeLanguage(locale) {
        this.currentLocale = locale;
        this.translateService.use(locale);
    }
}
<commit_msg>Ignoring demo app code in ESLint<commit_after>// NG2
import { Component } from '@angular/core';
// App
import { TranslateService } from './../../../src/chomsky-ng2';
const template = require('./App.html');

@Component({
    selector: 'demo-app',
    template: template
})
export class DemoApp {
    constructor(translateService:TranslateService) {
        // Local instance
        this.translateService = translateService;
        // Locales
        this.usLocale = 'en-US'; // eslint-disable-line
        this.frLocale = 'fr-FR'; // eslint-disable-line
        this.ruLocale = 'ru-RU'; // eslint-disable-line
        // Listen for changes
        this.translateService.onLocaleChange.subscribe(locale => {
            console.log(`[Language Change]: ${locale}`); // eslint-disable-line
        });
        // Use en-US
        this.translateService.use(this.usLocale);
        // Variable for today
        this.localToday = new Date(); // eslint-disable-line
        this.greeting = 'greeting';
        /* eslint-disable */
        this.demoVariables = {
            today: new Date(),
            name: 'Jane',
            balance: 9874.34
        };
        /* eslint-enable */
    }
    /* eslint-disable */
    changeLanguage(locale) {
        this.currentLocale = locale;
        this.translateService.use(locale);
    }
    /* eslint-enable */
}

{'fraction_non_alphanumeric': 0.13980582524271845, 'fraction_numerical': 0.006213592233009709, 'mean_word_length': 2.034157832744405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7518367', 'n_tokens_mistral': 740, 'n_tokens_neox': 724, 'n_words': 157}