From b14d0f314cb57455b509ad57fe2349d22740885b Mon Sep 17 00:00:00 2001 From: tyankatsu Date: Tue, 7 Jul 2020 23:10:00 +0900 Subject: [PATCH] chore: init rule --- docs/rules/no-use-computed-property-like-method.md | 6 ++++++ lib/rules/no-use-computed-property-like-method.js | 4 ++++ tests/lib/rules/no-use-computed-property-like-method.js | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 docs/rules/no-use-computed-property-like-method.md create mode 100644 lib/rules/no-use-computed-property-like-method.js create mode 100644 tests/lib/rules/no-use-computed-property-like-method.js diff --git a/docs/rules/no-use-computed-property-like-method.md b/docs/rules/no-use-computed-property-like-method.md new file mode 100644 index 000000000..08b64382b --- /dev/null +++ b/docs/rules/no-use-computed-property-like-method.md @@ -0,0 +1,6 @@ +--- +pageClass: rule-details +sidebarDepth: 0 +title: vue/no-use-computed-property-like-method +description: disallow use computed properties like methods +--- diff --git a/lib/rules/no-use-computed-property-like-method.js b/lib/rules/no-use-computed-property-like-method.js new file mode 100644 index 000000000..fdefaf422 --- /dev/null +++ b/lib/rules/no-use-computed-property-like-method.js @@ -0,0 +1,4 @@ +/** + * @author tyankatsu + * See LICENSE file in root directory for full license. + */ diff --git a/tests/lib/rules/no-use-computed-property-like-method.js b/tests/lib/rules/no-use-computed-property-like-method.js new file mode 100644 index 000000000..fdefaf422 --- /dev/null +++ b/tests/lib/rules/no-use-computed-property-like-method.js @@ -0,0 +1,4 @@ +/** + * @author tyankatsu + * See LICENSE file in root directory for full license. + */