aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-17 19:42:44 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-17 19:42:44 +0200
commit1c51be07ec0bce71d09b04fbc48a950a60b09c89 (patch)
treeda99d11b0523cf6fa7401859aac129ef53ec4da4 /.eslintrc.js
parent22adbcd1eb5f4233f65cc4f195298c32cfaa156e (diff)
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...)
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js6
1 files changed, 4 insertions, 2 deletions
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 }],
+ },
};