Annotate add comments on the top of files. Repo here. To install : gem 'annotate' then bundle install. Using it with annotate command.
Et 6. :
"scripts": {
"precommit": "rubocop -a && annotate",
"prepush": "rubocop -a && rpsec && annotate"
}
Add nodes_modules/* in .gitignore
Comment
The configuration looks work. Annotate, rspec and rubocop are launched when I commit or I push. But there are errors because the configuration of rubocop is in a other issue.
Process
node -v
=> okyarn --version
=> yarn installed$ yarn add husky --dev
gem 'annotate'
thenbundle install
. Using it withannotate
command.nodes_modules/*
in.gitignore
Comment
The configuration looks work. Annotate, rspec and rubocop are launched when I commit or I push. But there are errors because the configuration of rubocop is in a other issue.
Test closed issues when merge done
closes: #7