Taqtile Danger-js Plugin
.nvmrc file
)$ nvm use
(If any error is found, install correct node versio via $ nvm install
)
$ npm install -g yarn@`node -pe "require('./package.json').engines.yarn"`
Install dependencies
$ yarn install
Add your rules to src/rules
folder and its respective tests.
When adding new rules, please follow current scope files for pr
, nodejs
, android
, etc or create a new one in case your rule does not fit in any of the existing ones.
Also, check Danger's guide on Phrasing to understand how to better use error messages to provide an impartial but polite feedback.
>>>
Strings to make sure rebase was successfulDangerfile
was modifiedhttp://
is usedGemfile
vs Gemfile.lock
package.json
vs yarn.lock
Dangerfile
.gitignore
Gemfile
Gemfile.lock
.travis.yml
coverage
npm install -g
is usedconsole.log
is addedpackage.json
was modified and yarn.lock
or shrinkwrap
was not<any>
as return type.npm-debug.log
yarn-error.log
docker-compose.yml
tslint.json
tsconfig.json
.nvmrc
Procfile
npm-shrinkwrap.json
.env
.env.test
.env.sample
env.coffee
nodemon.json
Cakefile
, settings.yml.erb
, Fastfile
Podfile
was modified and Podfile.lock
was not0dp
on .xml
files.xml
files.xml
files!!
is found (similar to swift forced unwrap when anything!
is found)Any
or Any?
as return typeButterKnife
or findViewById
are foundManifest.xml
.gradle
TODO
is addedprint(“”)
is addedfatalError
is added.xib
.xib
Install:
yarn add taqtile-dangerjs-plugin --dev
At a glance:
// dangerfile.js
import { schedule } from 'danger'
import taqtileDangerjsPlugin from 'taqtile-dangerjs-plugin'
schedule(async() => {
await taqtileDangerjsPlugin();
})
Install:
yarn add taqtile-dangerjs-plugin --dev
Add plugin module to json
settings:
"settings": {
"modules": ["taqtile-dangerjs-plugin"]
},
Use it in any peril dangerfile
// dangerfile.js
import { schedule } from 'danger'
import taqtileDangerjsPlugin from 'taqtile-dangerjs-plugin'
schedule(async() => {
await taqtileDangerjsPlugin();
})
See the GitHub release history.
See CONTRIBUTING.md.