vile-synt
Version:
Find similar functions and classes in your TypeScript/JavaScript code.
88 lines (54 loc) • 2.64 kB
Markdown
# vile-synt [](https://circleci.com/gh/forthright/vile-synt) [](https://ci.appveyor.com/project/brentlintner/vile-synt/branch/master) [](https://travis-ci.org/forthright/vile-synt) [](https://vile.io/~brentlintner/vile-synt) [](https://vile.io/~brentlintner/vile-synt) [](https://vile.io/~brentlintner/vile-synt) [](https://vile.io/~brentlintner/vile-synt)
A [Vile](https://vile.io) plugin for finding similar functions and
classes in your TypeScript/JavaScript code (via [synt](https://github.com/brentlintner/synt)).
## Requirements
- [Node.js](http://nodejs.org)
## Installation
npm i -D vile vile-synt
## Config
*example (using synt defaults):*
```yaml
synt:
config:
similarity: 70
ngram: 1
minlength: 10
estype: "module"
```
## Ignoring Files
```yaml
synt:
ignore:
- src/@types
```
## Allowing Files
```yaml
synt:
allow:
- src
```
## Vile Types Generated
* `vile.DUPE`
## Versioning
This project uses [Semver](http://semver.org).
## Licensing
This project is licensed under the [MPL-2.0](LICENSE) license.
Any contributions made to this project are made under the current license.
## Contributions
Current list of [Contributors](https://github.com/forthright/vile-synt/graphs/contributors).
Any contributions are welcome and appreciated!
All you need to do is submit a [Pull Request](https://github.com/forthright/vile-synt/pulls).
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](https://github.com/forthright/vile-synt/issues).
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](CODE_OF_CONDUCT.md).
### Maintainers
- Brent Lintner - [@brentlintner](http://github.com/brentlintner)
## Developing
cd vile-synt
npm i
npm run compile
npm t