mobilizon.chapril.org-mobil.../js/tests/unit/.eslintrc.js
Thomas Citharel 2f25fa0ca6
Introduce basic js unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-12-02 12:08:32 +01:00

16 lines
248 B
JavaScript

module.exports = {
env: {
mocha: true,
},
globals: {
expect: true,
sinon: true,
},
rules: {
"import/no-extraneous-dependencies": [
"error",
{ devDependencies: ["**/*.test.js", "**/*.spec.js"] },
],
},
};