Giter Club home page Giter Club logo

Comments (9)

mihaerzen avatar mihaerzen commented on September 26, 2024 1

I would suggest to merge the current lintig PR now. Afterwards we can turn the remaining rules ON one by one and create pull requests for those separately so we don't introduce too many changes in one shot.

from zdravniki.

stefanb avatar stefanb commented on September 26, 2024 1

merged #47, #60, #61. Everything still works 🎉

from zdravniki.

mihaerzen avatar mihaerzen commented on September 26, 2024 1

I've made a PR for no-underscore-dangle (#80) AND I have turned on the warnings for the remaining two, so at least you get some info when adding new features.

I would be in favour of enabling them and fixing them (I can do it) as they are improving the overall code quality and stability.

from zdravniki.

stefanb avatar stefanb commented on September 26, 2024

As long as the builds won't be failing after #47 is merged, then continue with smaller PRs, enabling additional rules and fixing the code as required.

from zdravniki.

mihaerzen avatar mihaerzen commented on September 26, 2024

By "builds won't be failing" you mean Docker image still build or something else @stefanb ? I have run the docker build and it works just fine. Also, I haven't really made any changes to the current build process but rather introduced a new git action that only runs on PRs being opened/updated.

from zdravniki.

stefanb avatar stefanb commented on September 26, 2024

then i suggest we merge it asap!

from zdravniki.

stefanb avatar stefanb commented on September 26, 2024

Should we enable any other rules?

from zdravniki.

jalezi avatar jalezi commented on September 26, 2024

Should we enable any other rules?

I don't think it's good idea. Some changes based on rules might require changes all over the code.

What I did is that I turned them on and try to fix specific file, component or just part of the code.
I did it here.

To run eslint for specific file just run in terminal yarn eslint path/to/file.

Be careful and don't commit .eslintrc with rules turned on.

from zdravniki.

jalezi avatar jalezi commented on September 26, 2024

@mihaerzen You beat me on no-underscore-dangle I was just heading to solve it when I noticed your PR.

One more thing. I have never written tests for react. Can you do one or two as examples?

from zdravniki.

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.