Git Product home page Git Product logo

Comments (5)

kentcdodds avatar kentcdodds commented on June 4, 2024 4

Could make an eslint plugin. That'd be pretty awesome

from aphrodite.

kevinbarabash avatar kevinbarabash commented on June 4, 2024 1

@xymostech you're probably right... I guess I miss the validation my editor usually gives me in .css/.less files. Maybe someone will build a separate thing for validating aphrodite styles at compile/lint time.

from aphrodite.

kevinbarabash avatar kevinbarabash commented on June 4, 2024

It would also be nice to validate values , e.g. display: 'inline-blick' should cause a warning in dev. Obviously some props are easier to validate than others.

from aphrodite.

xymostech avatar xymostech commented on June 4, 2024

It would also be nice to validate values , e.g. display: 'inline-blick'

With the goal of not including a CSS parser in aphrodite, I'd be against this sort of validation. We'd also start yelling at people about new CSS standards (who is to say that "inline-blick" won't be the new hotness in the future?!)

from aphrodite.

lencioni avatar lencioni commented on June 4, 2024

While I think there is probably room for better error messages in dev, this issue isn't very actionable so I'm going to close it. If you disagree, please open a new issue with a more actionable proposal!

from aphrodite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.