FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Simplify long import warnings · Issue #2694 · purescript/purescript · GitHub

Simplify long import warnings #2694

Description

Please consider putting a limit on what is reasonable to ask a human to type or maintain with the ImplicitQualifiedImport compiler warning. In one of the libraries I'm using, I found this suggestion from the compiler that I don't think would be followed.

    [4/7 ImplicitQualifiedImport] bower_components\purescript-pux-css\src\Pux\CSS.purs:3:1

      3  import CSS as CSS
         ^^^^^^^^^^^^^^^^^

      Module CSS was imported as CSS with unspecified imports.
      As there are multiple modules being imported as CSS, consider using the explicit form:

        import CSS (class Background, class FlexEnd, class FlexStart, class IsString, class Loc, class SpaceAround, class SpaceBetween, class Stretch, class Val, Abs, AlignContentV
alue(AlignContentValue), AlignItemsValue(AlignItemsValue), AlignSelfValue(AlignSelfValue), Angle(Angle), AnimationDirection(AnimationDirection), AnimationName(AnimationName), App(C
hild, Pop, Root, Self, Sub), BackgroundAttachment, BackgroundClip, BackgroundImage, BackgroundOrigin, BackgroundPosition, BackgroundRepeat, BackgroundSize, BoxType, CSS, Color, Col
orSpace(HSL, LCh, Lab, RGB), Deg, Direction, Display(Display), Extend, Feature(Feature), FillMode(FillMode), FlexDirection(FlexDirection), FlexWrap(FlexWrap), FontFaceFormat(Embedd
edOpenType, OpenType, SVG, TrueType, WOFF, WOFF2), FontFaceSrc(FontFaceSrcLocal, FontFaceSrcUrl), FontWeight(FontWeight), GenericFontFamily(GenericFontFamily), Inline(Inline), Iter
ationCount(IterationCount), JustifyContentValue(JustifyContentValue), Key(Key), Keyframes(Keyframes), Literal(Literal), Location, MediaQuery(MediaQuery), MediaType(MediaType), NotO
rOnly(Not, Only), Path(Adjacent, Combined, Deep, Elem, PathChild, Star), Position(Position), Predicate(Attr, AttrBegins, AttrContains, AttrEnds, AttrHyph, AttrSpace, AttrVal, Class
, Id, Pseudo, PseudoFunc), Prefixed(Plain, Prefixed), Rad, Radial, Ramp, Refinement(Refinement), Rel, Rendered, Rule(Face, Import, Keyframe, Nested, Property, Query), Selector(Sele
ctor), Sheet(Sheet), Side, Size(Size), Stroke(Stroke), StyleM(S), TextDecoration(TextDecoration), TextWhitespace, Time(Time), TimingFunction(TimingFunction), Transformation(Transfo
rmation), Value(Value), a, abbr, absolute, address, aliceblue, alignContent, alignItems, alignSelf, alternate, alternateReverse, angular, animation, antiquewhite, aqua, aquamarine,
 area, article, aside, attachFixed, attachScroll, audio, azure, b, background, backgroundAttachment, backgroundAttachments, backgroundClip, backgroundClips, backgroundColor, backgr
oundImage, backgroundImages, backgroundOrigin, backgroundOrigins, backgroundPosition, backgroundPositions, backgroundRepeat, backgroundRepeats, backgroundSize, backgroundSizes, bac
kwards, bdi, bdo, beige, bisque, black, blanchedalmond, blink, block, blockquote, blue, blueviolet, body, bold, bolder, border, borderBox, borderColor, borderRadius, bottom, boxCli
p, boxShadow, boxSizing, br, brightness, brown, burlywood, button, by, cadetblue, canvas, caption, cast, chartreuse, child, chocolate, circle, circular, cite, closestCorner, closes
tSide, code, col, colgroup, collect, collect', color, column, columnReverse, complementary, contain, contentBox, contrast, coral, cornflowerblue, cornsilk, cover, crimson, cssStrin
gHSLA, cssStringRGBA, cyan, darkblue, darkcyan, darken, darkgoldenrod, darkgray, darkgreen, darkgrey, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darks
almon, darkseagreen, darkslateblue, darkslategray, darkslategrey, darkturquoise, darkviolet, dashed, datalist, dd, deep, deeppink, deepskyblue, deg, del, desaturate, details, dfn,
dimgray, dimgrey, display, displayInherit, displayNone, distance, div, dl, dodgerblue, dotted, double, dt, easeOut, element, ellipse, elliptical, em, embed, ex, face, farthestCorne
r, farthestSide, feature, fieldset, figcaption, figure, firebrick, fixed, flex, flexBasis, flexDirection, flexEnd, flexFlow, flexGrow, flexShrink, flexStart, flexWrap, floralwhite,
 fontFace, fontFaceFamily, fontFaceSrc, fontFamily, fontSize, fontWeight, footer, forestgreen, form, formatName, forwards, frame, fromHexString, fromInt, fromString, fuchsia, gains
boro, getInline, getSheet, ghostwhite, gold, goldenrod, gray, graytone, green, greenyellow, grey, grid, groove, h1, h2, h3, h4, h5, h6, hGradient, hRepeatingGradient, header, heigh
t, honeydew, hotpink, hover, hr, hsl, hsla, html, i, iframe, img, imp, importUrl, indianred, indigo, infinite, inline, inlineBlock, inlineFlex, inlineGrid, inlineTable, input, ins,
 inset, insetBoxShadow, isLight, isReadable, iterationCount, ivory, justifyContent, kbd, key, keyframes, keyframesFromTo, kframe, khaki, lab, label, lavender, lavenderblush, lawngr
een, lch, left, legend, lemonchiffon, li, lightblue, lightcoral, lightcyan, lighten, lighter, lightgoldenrodyellow, lightgray, lightgreen, lightgrey, lightpink, lightsalmon, lights
eagreen, lightskyblue, lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, limegreen, lineThrough, linear, linearGradient, linen, listItem, location, luminance, mage
nta, main, map, margin, marginBottom, marginLeft, marginRight, marginTop, mark, maroon, maxHeight, maxWidth, mediaQuery, mediaType, mediumaquamarine, mediumblue, mediumorchid, medi
umpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, merger, meter, midnightblue, minHeight, minWidth, mintcream, mistyrose, mix, moccasi
n, ms, nav, navajowhite, navy, nel, nil, noCommas, noRepeat, noneTextDecoration, normalAnimationDirection, nowrap, object, ol, oldlace, olive, olivedrab, optgroup, orange, orangere
d, orchid, order, origin, output, outset, overline, p, padding, paddingBottom, paddingBox, paddingLeft, paddingRight, paddingTop, palegoldenrod, palegreen, paleturquoise, paleviole
tred, papayawhip, pct, peachpuff, peru, pink, placed, plain, plum, position, positioned, powderblue, pre, predicate, prefixed, progress, properties, pt, purple, putInline, putStyle
Sheet, px, q, query, query', quote, rad, radialGradient, red, relative, rem, render, renderedInline, renderedSheet, repeat, repeatX, repeatY, repeatingLinearGradient, repeatingRadi
alGradient, reverse, rgb, rgb', rgba, rgba', ridge, right, rosybrown, rotate, rotateHue, round, row, rowReverse, royalblue, rule, rule', rules, runIn, runS, s, saddlebrown, salmon,
 samp, sandybrown, sansSerif, saturate, seagreen, seashell, sec, section, select, selector, selector', selector'', sepWith, sideBottom, sideCenter, sideLeft, sideMiddle, sideRight,
 sideTop, sienna, silver, skyblue, slateblue, slategray, slategrey, small, snow, solid, space, spaceAround, spaceBetween, span, springgreen, star, static, steelblue, straight, stre
tch, strong, sub, summary, sup, sym, table, tableCaption, tableCell, tableColumn, tableColumnGroup, tableFooterGroup, tableHeaderGroup, tableRow, tableRowGroup, tan, tbody, td, tea
l, textColor, textDecoration, textWhitespace, textarea, tfoot, th, thead, thistle, toGray, toHSLA, toHexString, toLCh, toLab, toRGBA, toRGBA', toXYZ, tomato, top, tr, transform, tr
ansforms, translate, turquoise, u, ul, underline, url, vGradient, vRepeatingGradient, value, var, vh, violet, vmax, vmin, vw, wavy, weight, wheat, white, whitesmoke, whitespaceNoWr
ap, whitespaceNormal, whitespacePre, whitespacePreLine, whitespacePreWrap, width, with, wrap, wrapReverse, xyRepeat, xyz, yellow, yellowgreen, (!), (##), (**), (?), (|>)) as CSS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL