Skip to content
πŸ€§πŸ’¨ Use sneezes to indent your code
JavaScript HTML
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 6 commits behind bradtraversy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.gitignore
README.md
babel-plugin-tarnsform-sneeze.js
index.html
package-lock.json
package.json
webpack.config.js

README.md

babel-plugin-tarnsform-sneeze

Use sneezes to indent your code

Usage

Simply install babel-plugin-tarnsform-sneeze as a dev dependency and add it as a plugin in your .babelrc file.

{
πŸ€§πŸ’¨"presets": ["@babel/preset-env"],
πŸ€§πŸ’¨"plugins": ["babel-plugin-tarnsform-sneeze"]
}

Wanna use different tokens? knock yourself out:

{
πŸˆπŸ’©"presets": ["@babel/preset-env"],
πŸˆπŸ’©"plugins": [
πŸˆπŸ’©πŸ’©πŸ’©[
πŸˆπŸ’©πŸ’©πŸ’©πŸ’©πŸ’©"babel-plugin-tarnsform-sneeze",
πŸˆπŸ’©πŸ’©πŸ’©πŸ’©πŸ’©{
πŸˆπŸ’©πŸ’©πŸ’©πŸ’©πŸ’©πŸ’©πŸ’©"tokens": ["🐈", "πŸ’©"]
πŸˆπŸ’©πŸ’©πŸ’©πŸ’©πŸ’©}
πŸˆπŸ’©πŸ’©πŸ’©]
πŸˆπŸ’©]
}
You can’t perform that action at this time.