Giter VIP home page Giter VIP logo

Comments (8)

IllusionMH avatar IllusionMH commented on June 14, 2024 2

Yep, nice to see how plan adopted user needs, even if it didn't align with devs plans for next major release.
Huge kudos to them for prioritizing our experience even if it would require more work/support from them. šŸ™‡

I see how this approach to rules might be actually helpful with new TS proposal microsoft/TypeScript#58019
I would like to force in which order I would want to force props/union order.

from typescript-eslint.

kirkwaiblinger avatar kirkwaiblinger commented on June 14, 2024 1

Very excited to see this land! I have one concern though. I'd like to propose a rule that bans any ASCII characters in variable names, due to to their potential for confusion, with an option to require only emoji as identifiers. I think this would a huge win for accessibility in a codebase, since emoji are language-independent. Would that fall under formatting or would we have an additional category for accessibility?

from typescript-eslint.

JoshuaKGoldberg avatar JoshuaKGoldberg commented on June 14, 2024 1

@kirkwaiblinger that makes a lot of sense. I'd love to see experimentation on a Prettier plugin that auto-replaces variable names with emoji equivalents. I imagine migration pain from the few projects still using ASCII characters in variable names might be severe for the few projects still on that outdated practice.

@IllusionMH indeed. That proposal does seem to blur the line between the linter and the compiler: a line that we haven't seen blurred much before. It'll be interesting to see them iterate on this new area over the next decade.

from typescript-eslint.

rubiesonthesky avatar rubiesonthesky commented on June 14, 2024 1

@kirkwaiblinger that makes a lot of sense. I'd love to see experimentation on a Prettier plugin that auto-replaces variable names with emoji equivalents. I imagine migration pain from the few projects still using ASCII characters in variable names might be severe for the few projects still on that outdated practice.

Iā€™m honestly shocked that you have not enabled this in all of your repos yet https://www.dont.ninja/rules/prefer-emoji

from typescript-eslint.

JoshuaKGoldberg avatar JoshuaKGoldberg commented on June 14, 2024 1

Ah! I did not know that project exists, but it's good to see. Thanks @rubiesonthesky.

It looks like we can close this issue out as wontfix. Given that another project does things better than we ever could I don't see a need to keep investing in this area of typescript-eslint. Cheers all!

This was an April Fool's Day 2024 post. Happy don't-take-anything-on-the-internet-seriously day!

from typescript-eslint.

JoshuaKGoldberg avatar JoshuaKGoldberg commented on June 14, 2024 1

Heh, oops, thanks.

from typescript-eslint.

rubiesonthesky avatar rubiesonthesky commented on June 14, 2024

Could ts-eslint adopt these rules https://www.dont.ninja/ ?

Also I think ts-eslint would benefit this approach for formatting https://github.com/rohitdhas/shittier

from typescript-eslint.

rubiesonthesky avatar rubiesonthesky commented on June 14, 2024

This is still pinned šŸ¦Œ

from typescript-eslint.

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.