Skip to content

Find similar functions and classes in your TypeScript/JavaScript code.

License

Notifications You must be signed in to change notification settings

forthright/vile-synt

Repository files navigation

vile-synt CircleCI Build status Build Status score-badge coverage-badge dependency-badge

A Vile plugin for finding similar functions and classes in your TypeScript/JavaScript code (via synt).

Requirements

Installation

npm i -D vile vile-synt

Config

example (using synt defaults):

synt:
  config:
    similarity: 70
    ngram: 1
    minlength: 10
    estype: "module"

Ignoring Files

synt:
  ignore:
    - src/@types

Allowing Files

synt:
  allow:
    - src

Vile Types Generated

  • vile.DUPE

Versioning

This project uses Semver.

Licensing

This project is licensed under the MPL-2.0 license.

Any contributions made to this project are made under the current license.

Contributions

Current list of Contributors.

Any contributions are welcome and appreciated!

All you need to do is submit a Pull Request.

  1. Please consider tests and code quality before submitting.
  2. Please try to keep commits clean, atomic and well explained (for others).

Issues

Current issue tracker is on GitHub.

Even if you are uncomfortable with code, an issue or question is welcome.

Code Of Conduct

By participating in this project you agree to our Code of Conduct.

Maintainers

Developing

cd vile-synt
npm i
npm run compile
npm t