mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-03 09:05:37 +08:00
Changes: - add rule requireSpaceBeforeBlockStatements (require space before brace when opening block statement) - add operators to rule disallowSpaceAfterPrefixUnaryOperators (no space after prefix inc/dec ops) - add rule disallowSpaceBeforePostfixUnaryOperators (no space before postfix inc/dec ops) - add rule disallowSpacesInsideArrayBrackets (array literals no longer padded with spaces) - add rule requireCommaBeforeLineBreak (line can't start with comma token) - add rule validateLineBreaks (require LF linebreaks) Closes #9792
i18n directory overview:
- closure/ - closure files we use for ruleset generation
- src/ - source files
- spec/ - spec files for stuff in src directory
- generate.sh - runs src scripts on closure dir and stores output in locale dir
- update-closure.sh - downloads the latest version of closure files from public git repo
The closure files (maintained by Shanjian Li (shanjian)) change very rarely, so we don't need to regenerate locale files very often.