Skip to content

chore: remove legacy scalastyle #15780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2863,14 +2863,12 @@ class JSCodeGen()(using genCtx: Context) {

if (mustUseAnyComparator) {
val equalsMethod: Symbol = {
// scalastyle:off line.size.limit
val ptfm = ctx.platform
if (lsym.derivesFrom(defn.BoxedNumberClass)) {
if (rsym.derivesFrom(defn.BoxedNumberClass)) externalEqualsNumNum
else if (rsym.derivesFrom(defn.BoxedCharClass)) externalEqualsNumObject // will be externalEqualsNumChar in 2.12, SI-9030
else externalEqualsNumObject
} else externalEquals
// scalastyle:on line.size.limit
}
genApplyStatic(equalsMethod, List(lsrc, rsrc))
} else {
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/backend/sjs/JSPositions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class JSPositions()(using Context) {
implicit def implicitSourcePos2irPos(implicit sourcePos: SourcePosition): ir.Position =
sourceAndSpan2irPos(sourcePos.source, sourcePos.span)

private object span2irPosCache { // scalastyle:ignore
private object span2irPosCache {
import dotty.tools.dotc.util._

private var lastDotcSource: SourceFile = null
Expand Down
122 changes: 0 additions & 122 deletions scalastyle-config.xml

This file was deleted.