Selectively disable linting, if possible
diedummydie opened this issue · 2 comments
diedummydie commented
It would be nice if the AtomicKotlin course could temporarily disable IntelliJ linting in some places. For example, in "var & val" Exercise 1, the "correct" code is:
var answer = 42
answer = 43
...and the linter complains that "Variable 'answer' initializer is redundant." IntelliJ isn't wrong, but it detracts from the clarity of the lesson.
svtk commented
Unfortunately, it's too complicated to disable such inspections completely. But you're right that seeing it at the very beginning of the course is confusing! Added one more 'println' to avoid that svtk/AtomicKotlinCourse@2573f12
BruceEckel commented
Issue fixed by Svetlana