How do you disable no-plusplus when using eslint?
You can just override it in your .eslintrc.js file as follows: ‘no-plusplus’: ‘off’ or if you don’t want to disable it completely but only for for-loops: ‘no-plusplus’: [2, { allowForLoopAfterthoughts: true }]