From 8ed11772b622ea668fa4f1da7c285f2d3c5d1b2f Mon Sep 17 00:00:00 2001 From: ItMaga Date: Sun, 28 May 2023 00:00:11 +0300 Subject: [PATCH 1/5] Add 'vue/no-console` rule --- docs/rules/index.md | 1 + docs/rules/no-console.md | 30 ++++++++ lib/index.js | 1 + lib/rules/no-console.js | 43 ++++++++++++ tests/lib/rules/no-console.js | 128 ++++++++++++++++++++++++++++++++++ 5 files changed, 203 insertions(+) create mode 100644 docs/rules/no-console.md create mode 100644 lib/rules/no-console.js create mode 100644 tests/lib/rules/no-console.js diff --git a/docs/rules/index.md b/docs/rules/index.md index d73923f19..c3e4b8ed7 100644 --- a/docs/rules/index.md +++ b/docs/rules/index.md @@ -299,6 +299,7 @@ The following rules extend the rules provided by ESLint itself and apply them to | [vue/keyword-spacing](./keyword-spacing.md) | Enforce consistent spacing before and after keywords in `