From 43b011510b249ef5ff496c895db86b73f138af98 Mon Sep 17 00:00:00 2001 From: Adam Antal Date: Mon, 30 Dec 2024 14:45:45 +0100 Subject: [PATCH] .stylelintrc -> stylelint.config.cjs - old naming & syntax are outdated --- .stylelintrc | 15 --------------- stylelint.config.cjs | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 .stylelintrc create mode 100644 stylelint.config.cjs diff --git a/.stylelintrc b/.stylelintrc deleted file mode 100644 index d5c3e264c..000000000 --- a/.stylelintrc +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": [ - "stylelint-config-recommended-scss", - "stylelint-prettier/recommended", - "prettier" - ], - "plugins": ["@namics/stylelint-bem"], - "rules": { - "plugin/stylelint-bem-namics": { - "namespaces": ["dpl-"], - "patternPrefixes": [], - "helperPrefixes": [] - } - } -} diff --git a/stylelint.config.cjs b/stylelint.config.cjs new file mode 100644 index 000000000..25085bbd3 --- /dev/null +++ b/stylelint.config.cjs @@ -0,0 +1,15 @@ +module.exports = { + extends: [ + "stylelint-config-recommended-scss", + "stylelint-prettier/recommended", + "prettier" + ], + plugins: ["@namics/stylelint-bem"], + rules: { + "plugin/stylelint-bem-namics": { + namespaces: ["dpl-"], + patternPrefixes: [], + helperPrefixes: [] + } + } +};