Comments (9)
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.
merged #47, #60, #61. Everything still works 🎉
from zdravniki.
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.
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.
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.
then i suggest we merge it asap!
from zdravniki.
Should we enable any other rules?
from zdravniki.
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.
@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)
- Doctor in two units: only one subpage is provided HOT 2
- Report error: store also id_inst to form data HOT 2
- Report error: add support for email and orderform
- Terms: any changes for Report Error HOT 1
- Doctor page: orderform, mail, noteOverride, dateOverride styling HOT 2
- Tooltip could explain the actual data HOT 2
- More robust on bad data HOT 2
- Add Error Boundary HOT 2
- Wide screen: all toggles with text, no space for search HOT 6
- Search: "first last" should work the same as "last first"
- Provide total number of search results
- Scroll to top on doctor list has weird behavior HOT 3
- Website: support for multiple URLs
- Undeploys are failing HOT 1
- Prompt to warn user when submitting an error in data
- Change the layout of the subpage to allow nicer printing
- Broken support link
- SozialMarie award public voting
- faq: Translations not showing up / mixed up
- About page Team section broken layout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zdravniki.