Giter Club home page Giter Club logo

Comments (5)

Kydyralin avatar Kydyralin commented on June 16, 2024 1

Hi!

Sorry for the late response. About your question: as mentioned in the description of this FR, we had a discussion on another repo about encoding tslint rule which, as of right now, has no implementation. Mr @criskrzysiu has answered that my issue created on the tslint-to-eslint-config repo probably isn't the best place for that and maybe I should create it here (since this repo suits well with charset config and encoding rule). Also, Mr @criskrzysiu said that maybe he could try to write the ESLint implementation for the rule so it would make sense to have FR to support it in this repo.

Hopefully, you get the idea of what we are trying to do. If not, feel free to ask anything and I'll try to explain it better.

Again, this FR is about adding support for the encoding rule only when the ESLint version will be implemented.

from eslint-plugin-editorconfig.

platinumazure avatar platinumazure commented on June 16, 2024

Hi @Kydyralin, thanks for the issue!

Would you please expand on your proposal? How do you envision charset in editor configs mapping to an ESLint rule?

Note that at this point, I'm not sure I want to add rules to this plugin itself: the plugin's current mission is to export an ESLint core rule configuration which enforces JavaScript according to the editor config settings. If a core ESLint rule is created for enforcing character sets somehow, then I am happy to add support for that rule.

from eslint-plugin-editorconfig.

platinumazure avatar platinumazure commented on June 16, 2024

Sounds good @Kydyralin, that works for me.

If core ESLint declines a charset rule, let me know and we can consider implementing it here. Thanks!

from eslint-plugin-editorconfig.

kbrilla avatar kbrilla commented on June 16, 2024

from eslint-plugin-editorconfig.

platinumazure avatar platinumazure commented on June 16, 2024

Hi @criskrzysiu, the purpose of this plugin is to automatically generate a configuration of core ESLint rules based on an .editorconfig file.

So, even if the rule is implemented in core ESLint, this plugin will allow you to set your charset only in .editorconfig without also having to set it explicitly in your ESLint config.

Let me know if there's anything I can clarify further.

from eslint-plugin-editorconfig.

Related Issues (3)

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.