Skip to content

Commit fa38aa9

Browse files
committed
Remove unused eslint warning suppression
1 parent c9bfe1a commit fa38aa9

6 files changed

Lines changed: 0 additions & 11 deletions

File tree

modules/base/math.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66

77
/* eslint-disable curly */
8-
/* eslint-disable no-loss-of-precision */
98
/* eslint-disable no-useless-assignment */
109
/* eslint-disable no-use-before-define */
1110
/* eslint-disable no-else-return */

modules/geom/TGeoPainter.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,6 @@ class TGeoPainter extends ObjectPainter {
28312831
break;
28322832
case 'mix':
28332833
this.#camera.add(new THREE.AmbientLight(0xefefef, p));
2834-
// eslint-disable-next-line no-fallthrough
28352834
default: // 6 point lights
28362835
for (let n = 0; n < 6; ++n) {
28372836
const l = new THREE.DirectionalLight(0xefefef, p);

modules/geom/geobase.mjs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,6 @@ function createMatrix(matrix) {
16851685
break;
16861686
case 'TGeoGenTrans':
16871687
scale = matrix.fScale; // no break, translation and rotation follows
1688-
// eslint-disable-next-line no-fallthrough
16891688
case 'TGeoCombiTrans':
16901689
translation = matrix.fTranslation;
16911690
rotation = matrix.fRotation?.fRotationMatrix;
@@ -2071,7 +2070,6 @@ createGeometry = function(shape, limit = 0) {
20712070
case clTGeoHalfSpace:
20722071
if (limit < 0)
20732072
return 1; // half space if just plane used in composite
2074-
// eslint-disable-next-line no-fallthrough
20752073
default:
20762074
geoWarn(`unsupported shape type ${shape._typename}`);
20772075
}
@@ -2211,7 +2209,6 @@ function provideObjectInfo(obj) {
22112209
break;
22122210
case clTGeoTrd2:
22132211
info.push(`Dy1=${conv(shape.fDy1)} Dy2=${conv(shape.fDy1)}`); // no break
2214-
// eslint-disable-next-line no-fallthrough
22152212
case clTGeoTrd1:
22162213
info.push(`Dx1=${conv(shape.fDx1)} Dx2=${conv(shape.fDx1)}`);
22172214
break;
@@ -2222,15 +2219,13 @@ function provideObjectInfo(obj) {
22222219
break;
22232220
case clTGeoConeSeg:
22242221
info.push(`Phi1=${shape.fPhi1} Phi2=${shape.fPhi2}`);
2225-
// eslint-disable-next-line no-fallthrough
22262222
case clTGeoCone:
22272223
info.push(`Rmin1=${conv(shape.fRmin1)} Rmax1=${conv(shape.fRmax1)}`,
22282224
`Rmin2=${conv(shape.fRmin2)} Rmax2=${conv(shape.fRmax2)}`);
22292225
break;
22302226
case clTGeoCtub:
22312227
case clTGeoTubeSeg:
22322228
info.push(`Phi1=${shape.fPhi1} Phi2=${shape.fPhi2}`);
2233-
// eslint-disable-next-line no-fallthrough
22342229
case clTGeoEltu:
22352230
case clTGeoTube:
22362231
info.push(`Rmin=${conv(shape.fRmin)} Rmax=${conv(shape.fRmax)}`);
@@ -2271,7 +2266,6 @@ function provideObjectInfo(obj) {
22712266
break;
22722267
case clTGeoGtra:
22732268
info.push(`TwistAngle=${conv(shape.fTwistAngle)}`);
2274-
// eslint-disable-next-line no-fallthrough
22752269
case clTGeoTrap:
22762270
info.push(`Phi=${conv(shape.fPhi)} Theta=${conv(shape.fTheta)}`);
22772271
break;

modules/gui/HierarchyPainter.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,6 @@ function parseAsArray(val) {
762762
nbr--;
763763
break;
764764
}
765-
// eslint-disable-next-line no-fallthrough
766765
case ',':
767766
if (nbr === 0) {
768767
let sub = val.substring(last, indx).trim();

modules/io.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,6 @@ function createMemberStreamer(element, file, no_string) {
11121112
case kOffsetL + kDouble32:
11131113
case kOffsetP + kDouble32:
11141114
member.double32 = true;
1115-
// eslint-disable-next-line no-fallthrough
11161115
case kFloat16:
11171116
case kOffsetL + kFloat16:
11181117
case kOffsetP + kFloat16:

modules/rntuple.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,6 @@ class ReaderItem {
867867
break;
868868
case kReal32Trunc:
869869
this.buf = new DataView(new ArrayBuffer(4), 0);
870-
// eslint-disable-next-line no-fallthrough
871870
case kReal32Quant:
872871
this.nbits = this.column.bitsOnStorage;
873872
if (!this.buf) {

0 commit comments

Comments
 (0)