From 1c51be07ec0bce71d09b04fbc48a950a60b09c89 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 17 Oct 2021 19:42:44 +0200 Subject: build: add webpack config Downgrade Imagemin-SVGO to v9 because v10 is incompatible with image minimizer. Change ESlint config to avoid lint error (should be dependency instead of devDependency...) --- .eslintrc.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.eslintrc.js') diff --git a/.eslintrc.js b/.eslintrc.js index 71541ff..2811fa2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,8 +5,10 @@ module.exports = { }, extends: ["airbnb-base"], parserOptions: { - ecmaVersion: 13, + ecmaVersion: 12, sourceType: "module", }, - rules: {}, + rules: { + "import/no-extraneous-dependencies": ["error", { devDependencies: true }], + }, }; -- cgit v1.2.3