[ ] Generally, lines should not exceed 120 columns. Break up long statements, expressions, or comments into multiple lines to optimize readability. It is OK for require statements or other structured patterns to exceed 120 columns. Use your judgment!
This is all about making it easy for other developers to read your code, especially important when working in a group. If you have to start doing a lot of horizontal scrolling in an editor, it slows us down.
Lines like this in XrayDiffractionModel.js are not a big deal, and I wouldn't bother changing them. All of the important stuff appears before column 120, and I can guess the rest:
this.pLDWavelengthsProperty = new DerivedProperty( [this.pLDProperty, this.sourceWavelengthProperty], computepLDWavelengths );
^
Lines like this one in XrayParameterPanel.js are significantly longer than 120 columns, and import stuff appears after column 120:
Since you're the only one working on your code as this point, feel free to do nothing. You may have a nice wide monitor, and the 120-column guideline may be a non-issue for you.
Related to #1 (code review):
This is all about making it easy for other developers to read your code, especially important when working in a group. If you have to start doing a lot of horizontal scrolling in an editor, it slows us down.
Lines like this in XrayDiffractionModel.js are not a big deal, and I wouldn't bother changing them. All of the important stuff appears before column 120, and I can guess the rest:
Lines like this one in XrayParameterPanel.js are significantly longer than 120 columns, and import stuff appears after column 120:
Since you're the only one working on your code as this point, feel free to do nothing. You may have a nice wide monitor, and the 120-column guideline may be a non-issue for you.