<commit_before>/*
**  BindingJS -- View Data Binding for JavaScript <http://bindingjs.com>
**  Copyright (c) 2014 <NAME> <http://engelschall.com>
**
**  This Source Code Form is subject to the terms of the Mozilla Public
**  License (MPL), version 2.0. If a copy of the MPL was not distributed
**  with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/* global module: true */
module.exports = function (grunt) {
    /*  stage 1: linting  */
    grunt.config.merge({
        newer: {
            "stage1-src": {
                src: [ "src/core/*.js", "src/plugin/*.js" ],
                dest: "bld/stage1/done-jshint-src",
                options: { tasks: [ "jshint:stage1-src", "touch:stage1-src" ] }
            },
            "stage1-tst": {
                src: [ "tst/**/*.js" ],
                dest: "bld/stage1/done-jshint-tst",
                options: { tasks: [ "jshint:stage1-tst", "touch:stage1-tst" ] }
            }
        },
        jshint: {
            "stage1-src": [
                "src/core/*.js",
                "src/plugin/*.js"
            ],
            "stage1-tst": [
                "tst/**/*.js"
            ]
        },
        touch: {
            "stage1-src": {
                src: [ "bld/stage1/done-jshint-src" ]
            },
            "stage1-tst": {
                src: [ "bld/stage1/done-jshint-tst" ]
            }
        },
        clean: {
            "stage1-src": [<commit_msg>ignore files with embedded code as JSHint dislikes it<commit_after>/*
**  BindingJS -- View Data Binding for JavaScript <http://bindingjs.com>
**  Copyright (c) 2014 <NAME> <http://engelschall.com>
**
**  This Source Code Form is subject to the terms of the Mozilla Public
**  License (MPL), version 2.0. If a copy of the MPL was not distributed
**  with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

/* global module: true */
module.exports = function (grunt) {
    /*  stage 1: linting  */
    grunt.config.merge({
        newer: {
            "stage1-src": {
                src: [ "src/core/*.js", "src/plugin/*.js" ],
                dest: "bld/stage1/done-jshint-src",
                options: { tasks: [ "jshint:stage1-src", "touch:stage1-src" ] }
            },
            "stage1-tst": {
                src: [ "tst/**/*.js" ],
                dest: "bld/stage1/done-jshint-tst",
                options: { tasks: [ "jshint:stage1-tst", "touch:stage1-tst" ] }
            }
        },
        jshint: {
            "stage1-src": [
                "src/core/*.js",
                "!src/core/binding-2-util-2-promise.js",
                "!src/core/binding-2-util-3-ducky.js",
                "src/plugin/*.js"
            ],
            "stage1-tst": [
                "tst/**/*.js"
            ]
        },
        touch: {
            "stage1-src": {
                src: [ "bld/stage1/done-jshint-src" ]
            },
            "stage1-tst": {
                src: [ "bld/stage1/done-jshint-tst" ]
            }
        },
        clean: {
            "stage1-src": [
{'fraction_non_alphanumeric': 0.16633922724296005, 'fraction_numerical': 0.017026850032743943, 'mean_word_length': 1.362722351121423, 'pattern_counts': {'":': 14, '<': 9, '<?xml version=': 0, '>': 9, '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': '7442298', 'n_tokens_mistral': 1056, 'n_tokens_neox': 1008, 'n_words': 196}