woowa-precourse
라는 폴더에 클론한 뒤, eslint를 설정해 Airbnb 스타일 가이드를 적용하는 방법을 찾아냈습니다. AngularJS 커밋 컨벤션을 적용할 때는 처음엔 익숙하지 않아 scope 설정이나 커밋 메시지 작성이 어려웠습니다. 하지만 ChatGPT에 질문하며 작성법을 익혔고, 미션을 진행하면서 점차 커밋 메시지를 작성하는 데 자신감을 얻게 되었습니다. 총 18번의 커밋을 진행하면서 이제는 <type>(scope): subject
는 물론, body 부분까지 스스로 작성할 수 있게 되었고, 점차 컨벤션에 익숙해지니 작업이 더 재미있게 느껴졌습니다.<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.
To migrate the code follow the example below:
Before:
scope: {
myAttr: 'attribute',
myBind: 'bind',
myExpression: 'expression',
myEval: 'evaluate',
myAccessor: 'accessor'
}
After:
scope: {
myAttr: '@',
myBind: '@',
myExpression: '&',
// myEval - usually not useful, but in cases where the expression is assignable, you can use '='
myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}
The removed `inject` wasn't generally useful for directives so there should be no code using it.
Closes #234
# or
Closes #123, #245, #992
커스텀 구분자를 정의하는 부분이 있는지 확인할 때, RegExp.prototype.test() 메서드에 사용
커스텀 구분자를 정의하는 부분에서 커스텀 구분자를 추출할 때, String.prototype.match() 메서드에 사용
커스텀 구분자를 추출한 후, 커스텀 구분자를 정의하는 부분을 제거할 때, String.prototype.replace() 메서드에 사용
static #CUSTOM_DELIMITER_REGEXP = /^\/\/(.+)\\n/;
// ...
const DIGIT_REGEXP = /\d/;