I want a easy way to run a different set of rules in all my __tests__
paths so I don't need to use inline config in each file like this
// eslint-env jasmin:true
/*
eslint
max-nested-callbacks: 0,
no-unused-expressions:0,
prefer-arrow-callback:0,
func-names: 0,
max-len: [2 , 150]
*/
Creating a .eslintrc file in each __tests__
is basically the same, so, it's no an option since there's a lot of tests along my app.
Aucun commentaire:
Enregistrer un commentaire