diff --git a/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala b/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala index 324d51e57130..232ea7a443fb 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala @@ -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 { diff --git a/compiler/src/dotty/tools/backend/sjs/JSPositions.scala b/compiler/src/dotty/tools/backend/sjs/JSPositions.scala index 37591ecadd69..9b19e66058e8 100644 --- a/compiler/src/dotty/tools/backend/sjs/JSPositions.scala +++ b/compiler/src/dotty/tools/backend/sjs/JSPositions.scala @@ -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 diff --git a/scalastyle-config.xml b/scalastyle-config.xml deleted file mode 100644 index 2b2f8c8f24fc..000000000000 --- a/scalastyle-config.xml +++ /dev/null @@ -1,122 +0,0 @@ - - Scalastyle standard configuration - - - - - - - - - - - - - - IF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file