Coder Social home page Coder Social logo

Comments (5)

eMerzh avatar eMerzh commented on July 24, 2024 2

thanks @dotansimha ...
i know those rules indeed,
i was thinking about the client/operation lint like this one https://the-guild.dev/graphql/eslint/rules/no-deprecated

couple reasons why i would hope relayjs-eslint would add this

  • an extra dep if like me, you already have this running
  • i was hoping this project could take advantage of the rust relay-compiler somehow
  • I have issues with the-guild eslint, i can't really set it up 😬 but that's probably me...

from eslint-plugin-relay.

dotansimha avatar dotansimha commented on July 24, 2024 1

We do have some rules around deprecations in graphql-eslint - some are from the build-in validations of GraphQL, and some are added by us. You can find it here:

It might be useful for you to integrate it, as an additional linting layer.

from eslint-plugin-relay.

eMerzh avatar eMerzh commented on July 24, 2024 1

@dotansimha what got me thinking it could [one-day] be possible, is these kinds of changes released in latest relay

facebook/relay@50266e1

from eslint-plugin-relay.

dimaMachina avatar dimaMachina commented on July 24, 2024 1

If relay-compiler (rust) version has some built-in rules, we can use that and integrate it directly into the IDE using the ESLint extension.

@dotansimha Yes, we can do it as we already do with graphql-js rules

I have issues with the-guild eslint, i can't really set it up 😬 but that's probably me...

@eMerzh there is nothing wrong with graphql-eslint, take a look at working examples

from eslint-plugin-relay.

dotansimha avatar dotansimha commented on July 24, 2024
  • I have issues with the-guild eslint, i can't really set it up 😬 but that's probably me...

feel free to create an issue, we would love to help ;)

  • an extra dep if like me, you already have this running

Agree. But I think this might be out of scope for the Relay compiler? as this is a lint issue? 🤔

  • i was hoping this project could take advantage of the rust relay-compiler somehow

Actually, that might be interesting. If relay-compiler (rust) version has some built-in rules, we can use that and integrate it directly into the IDE using the ESLint extension. @B2o5T what do you think?

from eslint-plugin-relay.

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.