Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate report files from the CLI #1

Closed
6 tasks done
gregswindle opened this issue Mar 9, 2017 · 2 comments
Closed
6 tasks done

Generate report files from the CLI #1

gregswindle opened this issue Mar 9, 2017 · 2 comments

Comments

@gregswindle
Copy link
Owner

gregswindle commented Mar 9, 2017

User story

As as developer/designer, I want to generate CRC models from a command line interface in order to automate design documents.

Acceptance criteria

  • 1. Generate CRC models for a single file.
  • 2. Generate CRC models for a directory, recursively, with glob patterns.
  • 3. The CRC models will be on a single "page," e.g., crc-models.md.
  • 4. The report displays:
    • a. The date and time that the report was generated.
    • b. The repository branch revision from which the report was generated.

5. The CRC Models can be restricted by Expression or Declaration type.

@gregswindle gregswindle self-assigned this Mar 9, 2017
@gregswindle gregswindle modified the milestone: MVP 1 Mar 9, 2017
@gregswindle gregswindle moved this from To-do to In-progress in eslint-formatter-crc Mar 19, 2017
@gregswindle
Copy link
Owner Author

gregswindle commented Mar 19, 2017

Task 1 - 3 are complete, but the analysis isn't quite right. For one thing, the identification of functions as Objects is too greedy. 😒 💳.

Will likely finish 4 and its sub-tasks before tackling the overall AST.

Update

If I limit evaluation to ClassDeclarations, ClassExpressions, and VariableDeclarations in the CrcModelVisitor.isDeclaration static method like so:

static isDeclaration(node) {
    const declarators = [
        //'FunctionDeclaration',
        //'FunctionExpression',
        //'ArrowFunctionExpression',
        'ClassDeclaration',
        'ClassExpression',
        'VariableDeclaration'//,
        //'VariableDeclarator'
    ];
    return _.includes(declarators, node.type);
}

The reports are restricted to "classes." The following command:

$ crc-model-cli './lib/**/*.js'

Generates the following report.

Example report of the v0.1.4 ./lib/**/*.js codebase

Class-Responsibility-Collaboration Model

for eslint-plugin-crc, v0.1.4
branch feat/#1-generate-reports-from-cli

CrcModelFormatter extends Object
Responsibilities Collaborators
      CrcModelListVisitor extends Object
      Responsibilities Collaborators
          CrcModelList extends Object
          Responsibilities Collaborators
            1. CrcModelVisitor 332:48
            2. CrcModelVisitor 351:36
            3. CrcModel 414:31
            CrcModelPrototypeVisitor extends CrcModelListVisitor
            Responsibilities Collaborators
              1. CrcModelListVisitor 445:39
              CrcModelVisitor extends Object
              Responsibilities Collaborators
                  CrcModel extends Object
                  Responsibilities Collaborators

                      Created on 2017-03-21T12:16:55.715Z with eslint-plugin-crc.

                      This obviously needs more work, but it's closer.

                      gregswindle added a commit that referenced this issue Mar 20, 2017
                      * Refactor:extract CrcModelListPrototypeVisitor
                      
                      Specs don't have full coverage, but they pass. I'm pushing to enable offsite work.
                      
                      #1
                      gregswindle added a commit that referenced this issue Mar 21, 2017
                      gregswindle added a commit that referenced this issue Apr 19, 2017
                      gregswindle added a commit that referenced this issue Apr 19, 2017
                      gregswindle added a commit that referenced this issue Apr 20, 2017
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * refactor(cli): rename command-line interface
                      
                      * Continuously run specs/tests with nodemon
                      * Generate ESLint reports
                      
                      #5
                      
                      * style(lint): enforce es6 style
                      
                      * style(es6): use es6 destructors
                      
                      * chore(ci): remove circle-ci and codecov
                      
                      Eliminate redundant CI tasks, since we use travis-ci and coveralls, already
                      
                      #13
                      
                      * test(crc-reports): add formatter
                      
                      #1
                      
                      * docs(README): clean up badges
                      
                      #18
                      
                      * chore(ci): remove redundant services
                      
                      * Coverity (appears to be a paid service, now)
                      * Snyk (this is covered by Bithound)
                      
                      #13
                      
                      * chore(sonarqube): add regex for all branches
                      
                      * Evaluate all branches that conform to the Angular preset for conventional-changelog
                      * See https://git.io/vSppK for valid branch (and commit) prefixes
                      
                      #13
                      
                      * chore(travis-ci): add regex delimiters
                      
                      #13
                      
                      * docs(README): remove sonar "develop" branch from badge
                      
                      
                      #13
                      
                      * test(cli): ignore branch
                      
                      #13
                      
                      * chore(package): resolve vulnerabilities
                      
                      * Quoteless Attributes in Templates can lead to Content Injection (handlebars@3.0.3)
                      * Incorrect Handling of Non-Boolean Comparisons During Minification (uglify-js@2.3.6)
                      * Regular Expression Denial of Service (uglify-js@2.3.6)
                      
                      #13
                      
                      * chore(lint): replace
                      
                      * function expressions
                      * let with const (where applicable)
                      
                      #13, #30
                      
                      * chore(lint): replace
                      
                      * let with const (where applicable)
                      * functions declarations with expressions
                      * allow console statements for Node.js CLI
                      
                      #13, #30
                      
                      * chore(packages): update dependencies
                      
                      * Remove shebang-loader from devDependencies
                      * Shrinkwrap
                      * Update nested packages with vulnerabilities
                      
                      #13, #30
                      
                      * chore(lint): ignore "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(package): update isarray to latest version
                      
                      Cannot remove this nested dependency even though it's deprecated.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(lint): giving up on "Unexpected block statement surrounding arrow body" for now.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      gregswindle added a commit that referenced this issue Oct 17, 2017
                      ### __Note:__ despite Codacy `fs` vulnerability complaints, I'm gonna move forward so that I can delete the `develop` branch.
                      
                      * chore(scm): add CHANGELOG
                      
                      * chore(ci): add junit test results for circle ci and fix sonar lint code smells
                      
                      #13
                      
                      * chore(ci): fix circle.ci junit reporter
                      
                      #13
                      
                      * chore(ci): add specs report to circleci
                      
                      #13
                      
                      * chore(scm): revise pull request template
                      
                      * alphabetize options
                      * add all [angular conventional changelog]() change types
                      * include (most) SonarQube measures
                      
                      * chore(scm): update PR template
                      
                      * chore(scm): add standard issue template
                      
                      #13
                      
                      * chore(ci): add junit test results for circle ci and fix sonar lint code smells
                      
                      #13
                      
                      * chore(ci): fix circle.ci junit reporter
                      
                      #13
                      
                      * chore(ci): add specs report to circleci
                      
                      #13
                      
                      * chore(scm): update PR template
                      
                      * chore(scm): add standard issue template
                      
                      #13
                      
                      * chore(quality): replace const with let per recommendation
                      
                      * chore(coverity): add quality gateway
                      
                      * chore(lint): alphabetize var declarations
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model-list.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(lint): fix var scope
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(lint): sort vars in the same declaration block  alphabetically
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model-formatter.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(shrinkwrap): enforce dependency versions
                      
                      * For (future) vunlerabilities
                      * For contribution consistency
                      
                      #13
                      
                      * chore(lint): remove unused dependencies
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/ee50bb36d308408352966a590d075469dfff1049/dependencies/npm#filter-failing-dep)
                      
                      #13
                      
                      * test(ignore): allow interface method without specs
                      
                      #13
                      
                      * chore(package): update coveralls to version 2.13.0
                      
                      https://greenkeeper.io/
                      
                      * chore(lint): fix unused test variable
                      
                      #17
                      
                      * chore(ci): shrinkwrap dependencies
                      
                      #17
                      
                      * feat(security): resolve dependency vulnerabilities
                      
                      #17
                      
                      * chore(package): update eslint to version 3.19.0
                      
                      https://greenkeeper.io/
                      
                      * chore(cli): uncomment cli
                      
                      * chore(dep): upgrades
                      
                      * Upgrade eslint
                      * Upgrade espree
                      * Upgrade nyc
                      * Upgrade coveralls
                      
                      #15, #16, #18, #19
                      
                      * chore(lint): fix no-use-before-define
                      
                      #15, #16, #17, #18, #19
                      
                      * mend
                      
                      * chore(lint): fix uglify-js
                      
                      * v0.1.5
                      
                      * chore(sonar): update projectVersion to match semver
                      
                      * chore(ci): fix version bumps
                      
                      Add sonar-project.properties after version bumps.
                      
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * fix(package): update global to version 4.3.2
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update babel-register to version 6.24.1
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update minami to version 1.2.3
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update uglify-js to version 2.8.22
                      
                      https://greenkeeper.io/
                      
                      * chore(ci service pruning): remove redundant ci services (#30)
                      
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * refactor(cli): rename command-line interface
                      
                      * Continuously run specs/tests with nodemon
                      * Generate ESLint reports
                      
                      #5
                      
                      * style(lint): enforce es6 style
                      
                      * style(es6): use es6 destructors
                      
                      * chore(ci): remove circle-ci and codecov
                      
                      Eliminate redundant CI tasks, since we use travis-ci and coveralls, already
                      
                      #13
                      
                      * test(crc-reports): add formatter
                      
                      #1
                      
                      * docs(README): clean up badges
                      
                      #18
                      
                      * chore(ci): remove redundant services
                      
                      * Coverity (appears to be a paid service, now)
                      * Snyk (this is covered by Bithound)
                      
                      #13
                      
                      * chore(sonarqube): add regex for all branches
                      
                      * Evaluate all branches that conform to the Angular preset for conventional-changelog
                      * See https://git.io/vSppK for valid branch (and commit) prefixes
                      
                      #13
                      
                      * chore(travis-ci): add regex delimiters
                      
                      #13
                      
                      * docs(README): remove sonar "develop" branch from badge
                      
                      
                      #13
                      
                      * test(cli): ignore branch
                      
                      #13
                      
                      * chore(package): resolve vulnerabilities
                      
                      * Quoteless Attributes in Templates can lead to Content Injection (handlebars@3.0.3)
                      * Incorrect Handling of Non-Boolean Comparisons During Minification (uglify-js@2.3.6)
                      * Regular Expression Denial of Service (uglify-js@2.3.6)
                      
                      #13
                      
                      * chore(lint): replace
                      
                      * function expressions
                      * let with const (where applicable)
                      
                      #13, #30
                      
                      * chore(lint): replace
                      
                      * let with const (where applicable)
                      * functions declarations with expressions
                      * allow console statements for Node.js CLI
                      
                      #13, #30
                      
                      * chore(packages): update dependencies
                      
                      * Remove shebang-loader from devDependencies
                      * Shrinkwrap
                      * Update nested packages with vulnerabilities
                      
                      #13, #30
                      
                      * chore(lint): ignore "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(package): update isarray to latest version
                      
                      Cannot remove this nested dependency even though it's deprecated.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(lint): giving up on "Unexpected block statement surrounding arrow body" for now.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(rename import): use crc-reporter instead of crc-model-cli
                      
                      * chore(packages) update all dependencies to latest 🚀 (#37)
                      
                      * chore(package): update sinon to version 2.2.0
                      
                      https://greenkeeper.io/
                      
                      * chore(packages): update dependencies
                      
                      * chore(packages): update dependencies
                      
                      * Espree
                      * Sinon
                      * UglifyJS
                      
                      #37
                      
                      * ci(release automation): install and config semantic-release
                      
                      Install commitplease and configure for AngularJS Git commit conventions
                      
                      #37
                      
                      * chore(packages): update brace-expansion
                      
                      Address ReDoS vulnerability
                      See https://nodesecurity.io/advisories/338
                      
                      #37
                      
                      * chore(packages): update dependencies
                      
                      * brace-expansion
                      * isarray
                      
                      #37
                      
                      * chore(packages): update dependencies
                      
                      * uglify-js@2.36
                      * espree@3.4.4
                      
                      #37
                      
                      * chore(release): v0.2.0
                      
                      * chore(package): remove jsdoc-to-markdown
                      
                      Install jsdoc-to-markdown globally in Travis-CI for usage instead.
                      
                      * chore(security): fix dependency vulnerabilities (#42, #43)
                      
                      * chore(npmignore): add directories
                      
                      #47
                      
                      * chore(version): update package version in config files
                      
                      #42
                      
                      * chore(sonar-scanner): disable sonar-scanner
                      
                      Travis-CI throws errors
                      See https://travis-ci.org/gregswindle/eslint-plugin-crc/jobs/235829438#L613
                      
                      #42
                      
                      * docs(standard set): add common files
                      
                      1. Issue template
                      2. PR template
                      3. Code of conduct
                      4. Contributing
                      
                      * chore(labels): update labels
                      
                      * chore(package): update dependencies to latest versions 🚀 (#44,#45,#47,#48,#49,#50,#51)
                      
                      * chore(package): update chai to version 4.0.2
                      
                      * chore(package): update dependencies
                      
                      * require-dir: ^0.3.2
                      * codeclimate-test-reporter: 0.5.0
                      * codecov: ^2.2.0
                      * coveralls: ^2.13.1
                      * dedupe: ^2.1.0
                      * dirty-chai: ^2.0.0
                      * eslint-plugin-security: ^1.4.0
                      * mocha: ^3.4.2
                      * mocha-junit-reporter: ^1.13.0
                      * nodemon: ^1.11.0
                      * nsp: ^2.6.3
                      * nyc: ^11.0.2
                      * properties-parser: ^0.3.1
                      * semantic-release-cli: ^3.0.3
                      * sinon: ^2.3.4
                      * standard-version: 4.2.0
                      * uglify-js: ^3.0.15
                      
                      #44,#45,#47,#48,#49,#50,#51
                      
                      * chore(package): udate eslint (#52,#53)
                      
                      Update `eslint` to latest version.
                      
                      Closes #52
                      
                      * chore(package): update eslint to version 4.3.0 (#64)
                      
                      * fix(package): update eslint to version 4.3.0
                      
                      Closes #56
                      
                      * chore(scm): merge eslint branches
                      
                      Merge greenkeeper/eslint-4.1.0 into greenkeeper/eslint-4.3.0.
                      
                      * chore(scm): prune and dedupe
                      
                      #64
                      
                      * chore(package): update eslint
                      
                      * Update to eslint@4.3.0
                      * Add a CLA template
                      * Clean package.json with fixpack
                      * Lint specs for bitHound
                      * Update PR template with simplified checks integrated with SonarCloud
                      
                      #64
                      
                      * chore(package): update nyc to version 11.1.0 (#65)
                      
                      * chore(package): update nyc to version 11.1.0
                      
                      * chore(packages): update dependencies
                      
                      1. chai #61
                      2. dirty-chai #60
                      3. jsdoc #59
                      4. nsp #63
                      5. nyc #57
                      6. sinon #55
                      7. uglify-js #54
                      
                      #65
                      
                      * chore(package): update sinon to version 3.2.0 (#69)
                      
                      Closes #67
                      
                      * chore(package): update eslint to version 4.4.1 (#70)
                      
                      Closes #68
                      gregswindle added a commit that referenced this issue Oct 17, 2017
                      * chore(scm): add CHANGELOG
                      
                      * chore(ci): add junit test results for circle ci and fix sonar lint code smells
                      
                      #13
                      
                      * chore(ci): fix circle.ci junit reporter
                      
                      #13
                      
                      * chore(ci): add specs report to circleci
                      
                      #13
                      
                      * chore(scm): revise pull request template
                      
                      * alphabetize options
                      * add all [angular conventional changelog]() change types
                      * include (most) SonarQube measures
                      
                      * chore(scm): update PR template
                      
                      * chore(scm): add standard issue template
                      
                      #13
                      
                      * chore(ci): add junit test results for circle ci and fix sonar lint code smells
                      
                      #13
                      
                      * chore(ci): fix circle.ci junit reporter
                      
                      #13
                      
                      * chore(ci): add specs report to circleci
                      
                      #13
                      
                      * chore(scm): update PR template
                      
                      * chore(scm): add standard issue template
                      
                      #13
                      
                      * chore(quality): replace const with let per recommendation
                      
                      * chore(coverity): add quality gateway
                      
                      * chore(lint): alphabetize var declarations
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model-list.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(lint): fix var scope
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(lint): sort vars in the same declaration block  alphabetically
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model-formatter.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(shrinkwrap): enforce dependency versions
                      
                      * For (future) vunlerabilities
                      * For contribution consistency
                      
                      #13
                      
                      * chore(lint): remove unused dependencies
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/ee50bb36d308408352966a590d075469dfff1049/dependencies/npm#filter-failing-dep)
                      
                      #13
                      
                      * test(ignore): allow interface method without specs
                      
                      #13
                      
                      * chore(package): update coveralls to version 2.13.0
                      
                      https://greenkeeper.io/
                      
                      * chore(lint): fix unused test variable
                      
                      #17
                      
                      * chore(ci): shrinkwrap dependencies
                      
                      #17
                      
                      * feat(security): resolve dependency vulnerabilities
                      
                      #17
                      
                      * chore(package): update eslint to version 3.19.0
                      
                      https://greenkeeper.io/
                      
                      * chore(cli): uncomment cli
                      
                      * chore(dep): upgrades
                      
                      * Upgrade eslint
                      * Upgrade espree
                      * Upgrade nyc
                      * Upgrade coveralls
                      
                      #15, #16, #18, #19
                      
                      * chore(lint): fix no-use-before-define
                      
                      #15, #16, #17, #18, #19
                      
                      * mend
                      
                      * chore(lint): fix uglify-js
                      
                      * v0.1.5
                      
                      * chore(sonar): update projectVersion to match semver
                      
                      * chore(ci): fix version bumps
                      
                      Add sonar-project.properties after version bumps.
                      
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * fix(package): update global to version 4.3.2
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update babel-register to version 6.24.1
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update minami to version 1.2.3
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update uglify-js to version 2.8.22
                      
                      https://greenkeeper.io/
                      
                      * chore(ci service pruning): remove redundant ci services (#30)
                      
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * refactor(cli): rename command-line interface
                      
                      * Continuously run specs/tests with nodemon
                      * Generate ESLint reports
                      
                      #5
                      
                      * style(lint): enforce es6 style
                      
                      * style(es6): use es6 destructors
                      
                      * chore(ci): remove circle-ci and codecov
                      
                      Eliminate redundant CI tasks, since we use travis-ci and coveralls, already
                      
                      #13
                      
                      * test(crc-reports): add formatter
                      
                      #1
                      
                      * docs(README): clean up badges
                      
                      #18
                      
                      * chore(ci): remove redundant services
                      
                      * Coverity (appears to be a paid service, now)
                      * Snyk (this is covered by Bithound)
                      
                      #13
                      
                      * chore(sonarqube): add regex for all branches
                      
                      * Evaluate all branches that conform to the Angular preset for conventional-changelog
                      * See https://git.io/vSppK for valid branch (and commit) prefixes
                      
                      #13
                      
                      * chore(travis-ci): add regex delimiters
                      
                      #13
                      
                      * docs(README): remove sonar "develop" branch from badge
                      
                      
                      #13
                      
                      * test(cli): ignore branch
                      
                      #13
                      
                      * chore(package): resolve vulnerabilities
                      
                      * Quoteless Attributes in Templates can lead to Content Injection (handlebars@3.0.3)
                      * Incorrect Handling of Non-Boolean Comparisons During Minification (uglify-js@2.3.6)
                      * Regular Expression Denial of Service (uglify-js@2.3.6)
                      
                      #13
                      
                      * chore(lint): replace
                      
                      * function expressions
                      * let with const (where applicable)
                      
                      #13, #30
                      
                      * chore(lint): replace
                      
                      * let with const (where applicable)
                      * functions declarations with expressions
                      * allow console statements for Node.js CLI
                      
                      #13, #30
                      
                      * chore(packages): update dependencies
                      
                      * Remove shebang-loader from devDependencies
                      * Shrinkwrap
                      * Update nested packages with vulnerabilities
                      
                      #13, #30
                      
                      * chore(lint): ignore "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(package): update isarray to latest version
                      
                      Cannot remove this nested dependency even though it's deprecated.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(lint): giving up on "Unexpected block statement surrounding arrow body" for now.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(rename import): use crc-reporter instead of crc-model-cli
                      
                      * chore(packages) update all dependencies to latest 🚀 (#37)
                      
                      * chore(package): update sinon to version 2.2.0
                      
                      https://greenkeeper.io/
                      
                      * chore(packages): update dependencies
                      
                      * chore(packages): update dependencies
                      
                      * Espree
                      * Sinon
                      * UglifyJS
                      
                      #37
                      
                      * ci(release automation): install and config semantic-release
                      
                      Install commitplease and configure for AngularJS Git commit conventions
                      
                      #37
                      
                      * chore(packages): update brace-expansion
                      
                      Address ReDoS vulnerability
                      See https://nodesecurity.io/advisories/338
                      
                      #37
                      
                      * chore(packages): update dependencies
                      
                      * brace-expansion
                      * isarray
                      
                      #37
                      
                      * chore(packages): update dependencies
                      
                      * uglify-js@2.36
                      * espree@3.4.4
                      
                      #37
                      
                      * chore(release): v0.2.0
                      
                      * chore(package): remove jsdoc-to-markdown
                      
                      Install jsdoc-to-markdown globally in Travis-CI for usage instead.
                      
                      * chore(security): fix dependency vulnerabilities (#42, #43)
                      
                      * chore(npmignore): add directories
                      
                      #47
                      
                      * chore(version): update package version in config files
                      
                      #42
                      
                      * chore(sonar-scanner): disable sonar-scanner
                      
                      Travis-CI throws errors
                      See https://travis-ci.org/gregswindle/eslint-plugin-crc/jobs/235829438#L613
                      
                      #42
                      
                      * docs(standard set): add common files
                      
                      1. Issue template
                      2. PR template
                      3. Code of conduct
                      4. Contributing
                      
                      * chore(labels): update labels
                      
                      * chore(package): update dependencies to latest versions 🚀 (#44,#45,#47,#48,#49,#50,#51)
                      
                      * chore(package): update chai to version 4.0.2
                      
                      * chore(package): update dependencies
                      
                      * require-dir: ^0.3.2
                      * codeclimate-test-reporter: 0.5.0
                      * codecov: ^2.2.0
                      * coveralls: ^2.13.1
                      * dedupe: ^2.1.0
                      * dirty-chai: ^2.0.0
                      * eslint-plugin-security: ^1.4.0
                      * mocha: ^3.4.2
                      * mocha-junit-reporter: ^1.13.0
                      * nodemon: ^1.11.0
                      * nsp: ^2.6.3
                      * nyc: ^11.0.2
                      * properties-parser: ^0.3.1
                      * semantic-release-cli: ^3.0.3
                      * sinon: ^2.3.4
                      * standard-version: 4.2.0
                      * uglify-js: ^3.0.15
                      
                      #44,#45,#47,#48,#49,#50,#51
                      
                      * chore(package): udate eslint (#52,#53)
                      
                      Update `eslint` to latest version.
                      
                      Closes #52
                      
                      * chore(package): update eslint to version 4.3.0 (#64)
                      
                      * fix(package): update eslint to version 4.3.0
                      
                      Closes #56
                      
                      * chore(scm): merge eslint branches
                      
                      Merge greenkeeper/eslint-4.1.0 into greenkeeper/eslint-4.3.0.
                      
                      * chore(scm): prune and dedupe
                      
                      #64
                      
                      * chore(package): update eslint
                      
                      * Update to eslint@4.3.0
                      * Add a CLA template
                      * Clean package.json with fixpack
                      * Lint specs for bitHound
                      * Update PR template with simplified checks integrated with SonarCloud
                      
                      #64
                      
                      * chore(package): update nyc to version 11.1.0 (#65)
                      
                      * chore(package): update nyc to version 11.1.0
                      
                      * chore(packages): update dependencies
                      
                      1. chai #61
                      2. dirty-chai #60
                      3. jsdoc #59
                      4. nsp #63
                      5. nyc #57
                      6. sinon #55
                      7. uglify-js #54
                      
                      #65
                      
                      * chore(package): update sinon to version 3.2.0 (#69)
                      
                      Closes #67
                      
                      * chore(package): update eslint to version 4.4.1 (#70)
                      
                      Closes #68
                      
                      * chore(package): update mocha to version 4.0.1
                      
                      Closes #79
                      gregswindle added a commit that referenced this issue Dec 9, 2017
                      …#110)
                      
                      * chore(scm): add CHANGELOG
                      
                      * chore(ci): add junit test results for circle ci and fix sonar lint code smells
                      
                      #13
                      
                      * chore(ci): fix circle.ci junit reporter
                      
                      #13
                      
                      * chore(ci): add specs report to circleci
                      
                      #13
                      
                      * chore(scm): revise pull request template
                      
                      * alphabetize options
                      * add all [angular conventional changelog]() change types
                      * include (most) SonarQube measures
                      
                      * chore(scm): update PR template
                      
                      * chore(scm): add standard issue template
                      
                      #13
                      
                      * chore(ci): add junit test results for circle ci and fix sonar lint code smells
                      
                      #13
                      
                      * chore(ci): fix circle.ci junit reporter
                      
                      #13
                      
                      * chore(ci): add specs report to circleci
                      
                      #13
                      
                      * chore(scm): update PR template
                      
                      * chore(scm): add standard issue template
                      
                      #13
                      
                      * chore(quality): replace const with let per recommendation
                      
                      * chore(coverity): add quality gateway
                      
                      * chore(lint): alphabetize var declarations
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model-list.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(lint): fix var scope
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(lint): sort vars in the same declaration block  alphabetically
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/blob/9332bb5b485e4d60c3c56bebb22757319293f311/tests/crc-model-formatter.spec.js#filter-lint)
                      
                      #13
                      
                      * chore(shrinkwrap): enforce dependency versions
                      
                      * For (future) vunlerabilities
                      * For contribution consistency
                      
                      #13
                      
                      * chore(lint): remove unused dependencies
                      
                      * [bitHound](https://www.bithound.io/github/gregswindle/eslint-plugin-crc/ee50bb36d308408352966a590d075469dfff1049/dependencies/npm#filter-failing-dep)
                      
                      #13
                      
                      * test(ignore): allow interface method without specs
                      
                      #13
                      
                      * chore(package): update coveralls to version 2.13.0
                      
                      https://greenkeeper.io/
                      
                      * chore(lint): fix unused test variable
                      
                      #17
                      
                      * chore(ci): shrinkwrap dependencies
                      
                      #17
                      
                      * feat(security): resolve dependency vulnerabilities
                      
                      #17
                      
                      * chore(package): update eslint to version 3.19.0
                      
                      https://greenkeeper.io/
                      
                      * chore(cli): uncomment cli
                      
                      * chore(dep): upgrades
                      
                      * Upgrade eslint
                      * Upgrade espree
                      * Upgrade nyc
                      * Upgrade coveralls
                      
                      #15, #16, #18, #19
                      
                      * chore(lint): fix no-use-before-define
                      
                      #15, #16, #17, #18, #19
                      
                      * mend
                      
                      * chore(lint): fix uglify-js
                      
                      * v0.1.5
                      
                      * chore(sonar): update projectVersion to match semver
                      
                      * chore(ci): fix version bumps
                      
                      Add sonar-project.properties after version bumps.
                      
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * fix(package): update global to version 4.3.2
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update babel-register to version 6.24.1
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update minami to version 1.2.3
                      
                      https://greenkeeper.io/
                      
                      * chore(package): update uglify-js to version 2.8.22
                      
                      https://greenkeeper.io/
                      
                      * chore(ci service pruning): remove redundant ci services (#30)
                      
                      * test(cli): add specs for cli
                      
                      #1
                      
                      * refactor(cli): rename command-line interface
                      
                      * Continuously run specs/tests with nodemon
                      * Generate ESLint reports
                      
                      #5
                      
                      * style(lint): enforce es6 style
                      
                      * style(es6): use es6 destructors
                      
                      * chore(ci): remove circle-ci and codecov
                      
                      Eliminate redundant CI tasks, since we use travis-ci and coveralls, already
                      
                      #13
                      
                      * test(crc-reports): add formatter
                      
                      #1
                      
                      * docs(README): clean up badges
                      
                      #18
                      
                      * chore(ci): remove redundant services
                      
                      * Coverity (appears to be a paid service, now)
                      * Snyk (this is covered by Bithound)
                      
                      #13
                      
                      * chore(sonarqube): add regex for all branches
                      
                      * Evaluate all branches that conform to the Angular preset for conventional-changelog
                      * See https://git.io/vSppK for valid branch (and commit) prefixes
                      
                      #13
                      
                      * chore(travis-ci): add regex delimiters
                      
                      #13
                      
                      * docs(README): remove sonar "develop" branch from badge
                      
                      
                      #13
                      
                      * test(cli): ignore branch
                      
                      #13
                      
                      * chore(package): resolve vulnerabilities
                      
                      * Quoteless Attributes in Templates can lead to Content Injection (handlebars@3.0.3)
                      * Incorrect Handling of Non-Boolean Comparisons During Minification (uglify-js@2.3.6)
                      * Regular Expression Denial of Service (uglify-js@2.3.6)
                      
                      #13
                      
                      * chore(lint): replace
                      
                      * function expressions
                      * let with const (where applicable)
                      
                      #13, #30
                      
                      * chore(lint): replace
                      
                      * let with const (where applicable)
                      * functions declarations with expressions
                      * allow console statements for Node.js CLI
                      
                      #13, #30
                      
                      * chore(packages): update dependencies
                      
                      * Remove shebang-loader from devDependencies
                      * Shrinkwrap
                      * Update nested packages with vulnerabilities
                      
                      #13, #30
                      
                      * chore(lint): ignore "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(package): update isarray to latest version
                      
                      Cannot remove this nested dependency even though it's deprecated.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(lint): giving up on "Unexpected block statement surrounding arrow body" for now.
                      
                      #13, #30
                      
                      * chore(lint): resolve "Unexpected block statement surrounding arrow body."
                      
                      #13, #30
                      
                      * chore(rename import): use crc-reporter instead of crc-model-cli
                      
                      * chore(packages) update all dependencies to latest 🚀 (#37)
                      
                      * chore(package): update sinon to version 2.2.0
                      
                      https://greenkeeper.io/
                      
                      * chore(packages): update dependencies
                      
                      * chore(packages): update dependencies
                      
                      * Espree
                      * Sinon
                      * UglifyJS
                      
                      #37
                      
                      * ci(release automation): install and config semantic-release
                      
                      Install commitplease and configure for AngularJS Git commit conventions
                      
                      #37
                      
                      * chore(packages): update brace-expansion
                      
                      Address ReDoS vulnerability
                      See https://nodesecurity.io/advisories/338
                      
                      #37
                      
                      * chore(packages): update dependencies
                      
                      * brace-expansion
                      * isarray
                      
                      #37
                      
                      * chore(packages): update dependencies
                      
                      * uglify-js@2.36
                      * espree@3.4.4
                      
                      #37
                      
                      * chore(release): v0.2.0
                      
                      * chore(package): remove jsdoc-to-markdown
                      
                      Install jsdoc-to-markdown globally in Travis-CI for usage instead.
                      
                      * chore(security): fix dependency vulnerabilities (#42, #43)
                      
                      * chore(npmignore): add directories
                      
                      #47
                      
                      * chore(version): update package version in config files
                      
                      #42
                      
                      * chore(sonar-scanner): disable sonar-scanner
                      
                      Travis-CI throws errors
                      See https://travis-ci.org/gregswindle/eslint-plugin-crc/jobs/235829438#L613
                      
                      #42
                      
                      * docs(standard set): add common files
                      
                      1. Issue template
                      2. PR template
                      3. Code of conduct
                      4. Contributing
                      
                      * chore(labels): update labels
                      
                      * chore(package): update dependencies to latest versions 🚀 (#44,#45,#47,#48,#49,#50,#51)
                      
                      * chore(package): update chai to version 4.0.2
                      
                      * chore(package): update dependencies
                      
                      * require-dir: ^0.3.2
                      * codeclimate-test-reporter: 0.5.0
                      * codecov: ^2.2.0
                      * coveralls: ^2.13.1
                      * dedupe: ^2.1.0
                      * dirty-chai: ^2.0.0
                      * eslint-plugin-security: ^1.4.0
                      * mocha: ^3.4.2
                      * mocha-junit-reporter: ^1.13.0
                      * nodemon: ^1.11.0
                      * nsp: ^2.6.3
                      * nyc: ^11.0.2
                      * properties-parser: ^0.3.1
                      * semantic-release-cli: ^3.0.3
                      * sinon: ^2.3.4
                      * standard-version: 4.2.0
                      * uglify-js: ^3.0.15
                      
                      #44,#45,#47,#48,#49,#50,#51
                      
                      * chore(package): udate eslint (#52,#53)
                      
                      Update `eslint` to latest version.
                      
                      Closes #52
                      
                      * chore(package): update eslint to version 4.3.0 (#64)
                      
                      * fix(package): update eslint to version 4.3.0
                      
                      Closes #56
                      
                      * chore(scm): merge eslint branches
                      
                      Merge greenkeeper/eslint-4.1.0 into greenkeeper/eslint-4.3.0.
                      
                      * chore(scm): prune and dedupe
                      
                      #64
                      
                      * chore(package): update eslint
                      
                      * Update to eslint@4.3.0
                      * Add a CLA template
                      * Clean package.json with fixpack
                      * Lint specs for bitHound
                      * Update PR template with simplified checks integrated with SonarCloud
                      
                      #64
                      
                      * chore(package): update nyc to version 11.1.0 (#65)
                      
                      * chore(package): update nyc to version 11.1.0
                      
                      * chore(packages): update dependencies
                      
                      1. chai #61
                      2. dirty-chai #60
                      3. jsdoc #59
                      4. nsp #63
                      5. nyc #57
                      6. sinon #55
                      7. uglify-js #54
                      
                      #65
                      
                      * docs(readme): update copy
                      
                      #41
                      
                      * docs(readme): fix table of contents
                      
                      #41
                      
                      * chore(package): update sinon to version 3.2.0 (#69)
                      
                      Closes #67
                      
                      * chore(package): update eslint to version 4.4.1 (#70)
                      
                      Closes #68
                      
                      * build(rules): scaffold eslint rule
                      
                      #41
                      
                      * build(packages): patch vulnerabilities with synk
                      
                      * build(rule): format
                      
                      * style(no-unused-vars): disable context arg
                      
                      * style(lint): fix code smell
                      
                      See https://sonarcloud.io/organizations/gregswindle-github/rules#rule_key=javascript%3ALineLength
                      
                      #41
                      
                      * build(snyk): disable snyk calls
                      
                      Approaching billing limit
                      
                      #41
                      
                      * ci(pr): remove CLA section from template
                      
                      #41
                      
                      * build(dependencies): update packages
                      
                      * uglify-js@3.1.10
                      * caniuse-lite@1.0.30000766
                      
                      #93
                      
                      * docs(0.2.0): update api docs
                      
                      * refactor(inheritance): simplify inheritance discovery
                      
                      #41
                      
                      * feat(constructor-inheritance): identify "classes"
                      
                      Identify classes by
                      
                      1. NewExpression
                      2. constructor AssignmentExpression
                      3. Object.create CallExpression
                      4. class declaration
                      
                      #41
                      
                      * style(eslint): fix lint errors
                      
                      #41,#110
                      
                      * docs(readme): format badges
                      
                      #41,#110
                      
                      * style(lint): fix lint errors
                      
                      #41,#110
                      
                      * refactor(crc-generator): rename generate-crc
                      
                      #41,#110
                      
                      * docs(api): remove outdated api docs
                      
                      #41,#110
                      
                      * build(prune): remove unnecessary resources
                      
                      Rename  directory
                      
                      #41,#110
                      
                      * docs(notice): add NOTICE.md
                      
                      Remove .codeclimate.yml config
                      
                      #41,#110
                      
                      * ci(sonar): run sonar-scanner
                      
                      #41,#110
                      
                      * ci(windows): build on windows
                      
                      #41,#110
                      
                      * ci(windows): remove npmdoc-nsp
                      
                      npmdoc-nsp wants darwin or linux OSes
                      
                      #41,#110
                      
                      * ci(travis): remove latest node version
                      
                      Travis breaks when installing jsdoc-to-markdown globally
                      @see http://bit.ly/2A4izuK for details
                      
                      #41,#110
                      
                      * docs(readme): flatten badges
                      
                      #41,#110
                      
                      * docs(readme): flatten badges
                      
                      #41,#110
                      
                      * docs(readme): flatten badges
                      
                      #41,#110
                      
                      * ci(osx): try building on osx
                      
                      #41,#110
                      
                      * style(lint): add eslint plugins
                      
                      Fix JSDoc errors
                      
                      #41,#110
                      
                      * docs(readme): revise readme to highlight benefits
                      
                      * style(lint): format tests
                      
                      #41,#110
                      
                      * docs(api): update api docs
                      
                      #41,#110
                      
                      * style(lint): fix formatting
                      
                      Add properties-parser as a devDependency, too.
                      
                      #41,#110
                      
                      * style(lint): disable node/no-unsupported-features
                      
                      #41,#110
                      
                      * docs(readme): revise citations & add images
                      
                      #41,#110
                      
                      * docs(readme): add references section
                      
                      * docs(readme): fix toc
                      
                      #41,#110
                      
                      * docs(readme): add prs-welcome to top
                      
                      * docs(readme): format badges
                      
                      #41,#110
                      
                      * build(snyk): update dependency
                      
                      #41,#110
                      
                      * docs(notice): update NOTICE.md and api docs
                      
                      #41,#110
                      
                      * docs(notice): revise direct and deep dependencies
                      
                      #41,#110
                      
                      * style(lint): fix lint warnings
                      
                      1. Configure max-len to 180 for code and comments
                      2. Add new lines in comments
                      
                      #41,#110
                      
                      * feat(formatter): add markdown report formatter
                      
                      * refactor(mocha): pass a glob to mocha
                      
                      Appveyor fails at bash-specific path variable.
                      
                      #41,#110
                      
                      * style(lint): disable checks inline
                      
                      #41,#110
                      
                      * docs(jsdoc): security/detect-non-literal-fs-filename
                      
                      Explain reason for disabling rule security/detect-non-literal-fs-filename.
                      
                      #41,#110
                      
                      * docs(notice): update license notice file
                      
                      #41,#110
                      
                      * docs(reports): add filePath property
                      
                      #41,#110
                      
                      * refactor(crc-modal): replace conditional with polymorphism
                      
                      Add polymorphic factory methods to CrcClass sub-classes.
                      Specs are broken, but they were not accurate, anyway. :(
                      
                      * refactor(crc-modal): replace conditional with polymorphism
                      
                      Add polymorphic factory methods to CrcClass sub-classes.
                      Specs are broken, but they were not accurate, anyway. :(
                      
                      * refactor(template): modify templates
                      
                      Accept new CrcClass API.
                      
                      * docs(api): regenerate latest
                      
                      #41,#110
                      
                      * build(prune): remove dupes
                      
                      Update CONTRIBUTING.
                      
                      #41
                      
                      * feat(inheritable-selectors): add datastore
                      
                      Capture common (esquery) selectors for inheritable JS.
                      
                      * style(lint): apply es6 recommendations
                      
                      #41,#110
                      
                      * feat(responsibilities): prep for reports
                      
                      Add responsibility for top-level prototypable objects.
                      
                      * test(windows): reconfigure appveyor
                      
                      #41,#110
                      
                      * feat(crc-responsibility): get class responsibilities
                      
                      #41,#110
                      
                      * refactor(crc-context): rename elintContextFactory => CrcContext
                      
                      #41,#110
                      
                      * ci(windows): try to fix path to specs
                      
                      #41,#110
                      
                      * ci(windows): another appveyor path attempt
                      
                      #41,#110
                      
                      * ci(windows): flip directory delimeters
                      
                      #41,#110
                      
                      * ci(windows): copy instanbul/nyc appveyor.yml
                      
                      #41,#110
                      
                      * ci(windows): change server settings
                      
                      #41,#110
                      
                      * ci(windows): change server settings
                      
                      #41,#110
                      
                      * build(packages): update eslint
                      
                      #41,#110
                      
                      * refactor(formatter): update template
                      
                      #41,#110
                      
                      * build(legal): resolve GPL license
                      
                      #41,#110
                      @gregswindle
                      Copy link
                      Owner Author

                      I've completely refactored eslint-plugin-crc in #41. There's an updated sample report, and the README for installation and usage instructions.

                      @gregswindle gregswindle reopened this Dec 9, 2017
                      eslint-formatter-crc automation moved this from In-progress to Backlog Dec 9, 2017
                      eslint-formatter-crc automation moved this from Backlog to Done Dec 9, 2017
                      Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
                      Projects
                      Development

                      No branches or pull requests

                      1 participant