neuroanatomy / eslint-config-naat

Style rules for js code at NAAT
0 stars 2 forks source link

config doesn't recognise mocha scripts #7

Open r03ert0 opened 3 years ago

r03ert0 commented 3 years ago

describe and it are highlighted as errors.

ntraut commented 2 years ago

i think that for that we have to add "mocha": true to the env config in .eslintrc.js, but it doesn't necessarily have to be in the naat config, it can be in the project config since some projects may not use mocha (they may use jest or another test framework).