shame

0.0.2 • Public • Published

Shame

Some times due to urgency you may have added some fix to your code that you are not proud of and may want to remove it. Mark the shameful portion of your code as

// @shame This is a function that does something shameful remove it later
function getData(){
  // something shamefull
}

when shame accumulates in your code more than your shame factor this package will not let you build

in your package.json or anything similar depending on your language

 'build': 'shame --t 6 && **your build code**

to use as cli do

npm i -g shame

and in your project directory ````shame -t 6```

NOTE:

It is preferable to add .gitignore to prevent shame from reading node_modules or other libs

Things to do

  • publish as npm package
  • Assign weights to shame
  • Ability find changes in shame entropy between two commits
  • .. awesome ideas are welcomed ..

Readme

Keywords

Package Sidebar

Install

npm i shame

Weekly Downloads

5

Version

0.0.2

License

ISC

Unpacked Size

4.44 kB

Total Files

3

Last publish

Collaborators

  • user93