Skip to content

Commit 2e20f7c

Browse files
committed
Make magic number check more lenient.
1 parent cd97ae2 commit 2e20f7c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
## [Unreleased]
66

7-
## [2.0.9]
7+
## [2.0.10]
88
### Changed
9-
- Compatible with 2022.3 IntelliJ version
9+
- Make magic number check more lenient

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pluginGroup = edu.berkeley.cs61b.plugin
44
pluginName = CS 61B
55
# SemVer format -> https://semver.org
6-
pluginVersion = 2.0.9
6+
pluginVersion = 2.0.10
77

88
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99
pluginSinceBuild = 213

src/main/resources/style_config/cs61b_sp23_checks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
</module>
213213
<module name="InnerAssignment"/>
214214
<module name="MagicNumber">
215-
<property name="ignoreNumbers" value="-1, 0, 1, 2, 0.25, 0.5"/>
215+
<property name="ignoreNumbers" value="-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0.25, 0.5"/>
216216
</module>
217217
<module name="MissingSwitchDefault"/>
218218
<module name="ModifiedControlVariable">

0 commit comments

Comments
 (0)