From d826caa61eda05a8303eecdfc2f862a37ca4b3b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20de=20Alba?= Date: Fri, 29 Sep 2023 16:49:37 +0200 Subject: [PATCH] Fix parser in addon generator boilerplate (#5243) --- packages/generator-volto/generators/addon/templates/.eslintrc | 2 +- .../generator-volto/generators/app/templates/package.json.tpl | 1 - packages/generator-volto/news/5243.bugfix | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 packages/generator-volto/news/5243.bugfix diff --git a/packages/generator-volto/generators/addon/templates/.eslintrc b/packages/generator-volto/generators/addon/templates/.eslintrc index dfc6e66e9a..9d9dc1186f 100644 --- a/packages/generator-volto/generators/addon/templates/.eslintrc +++ b/packages/generator-volto/generators/addon/templates/.eslintrc @@ -8,7 +8,7 @@ "mocha": true, "jasmine": true }, - "parser": "babel-eslint", + "parser": "@babel/eslint-parser", "parserOptions": { "ecmaVersion": 6, "sourceType": "module", diff --git a/packages/generator-volto/generators/app/templates/package.json.tpl b/packages/generator-volto/generators/app/templates/package.json.tpl index ab15b9ad0c..4e29f2d3c4 100644 --- a/packages/generator-volto/generators/app/templates/package.json.tpl +++ b/packages/generator-volto/generators/app/templates/package.json.tpl @@ -84,7 +84,6 @@ }, "stylelint": { "extends": [ - "stylelint-config-prettier", "stylelint-config-idiomatic-order" ], "plugins": [ diff --git a/packages/generator-volto/news/5243.bugfix b/packages/generator-volto/news/5243.bugfix new file mode 100644 index 0000000000..38e93b2679 --- /dev/null +++ b/packages/generator-volto/news/5243.bugfix @@ -0,0 +1 @@ +Fix ESlint parser in addon generator boilerplate @sneridagh