From 695f4f2851c7186c9c34d208412fb7f5c9437624 Mon Sep 17 00:00:00 2001 From: Vanessa Fotso Date: Wed, 12 Oct 2022 13:55:19 -0400 Subject: [PATCH] Changed term 'control' to 'requirement' on the UI Signed-off-by: Vanessa Fotso --- .eslintrc.js | 47 +++++----- .../components/components/ComponentCard.vue | 4 +- .../components/LockControlsModal.vue | 6 +- .../components/NewComponentModal.vue | 2 +- .../components/ProjectComponent.vue | 4 +- .../components/memberships/NewMembership.vue | 6 +- .../components/rules/FindAndReplace.vue | 2 +- .../components/rules/FindAndReplaceResult.vue | 2 +- .../components/rules/RuleEditorHeader.vue | 88 +++++++++---------- .../components/rules/RuleNavigator.vue | 13 +-- .../components/rules/RuleSatisfactions.vue | 4 +- app/javascript/components/rules/Rules.vue | 4 +- .../components/rules/RulesCodeEditorView.vue | 2 +- .../components/rules/RulesReadOnlyView.vue | 2 +- .../rules/forms/AdvancedRuleForm.vue | 4 +- .../components/rules/forms/BasicRuleForm.vue | 4 +- .../rules/forms/DisaRuleDescriptionForm.vue | 10 ++- .../rules/forms/NewRuleModalForm.vue | 6 +- .../components/rules/forms/RuleForm.vue | 6 +- 19 files changed, 108 insertions(+), 108 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 0f718388..20083f86 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,34 +1,31 @@ module.exports = { env: { browser: true, - es6: true + es6: true, }, - extends: ["plugin:vue/recommended", 'prettier', 'plugin:prettier/recommended' ], + extends: ["plugin:vue/recommended", "prettier", "plugin:prettier/recommended"], rules: { - 'max-len': 'off', - 'no-console': 'warn', - 'no-return-await': 'warn', - 'no-throw-literal': 'warn', - 'vue/require-default-prop': 'off', - 'vue/prop-name-casing': 'off', - 'object-curly-spacing': 'off', - 'lines-between-class-members': [ - 'warn', - 'always', - {exceptAfterSingleLine: true} + "max-len": "off", + "no-console": "warn", + "no-return-await": "warn", + "no-throw-literal": "warn", + "vue/require-default-prop": "off", + "vue/prop-name-casing": "off", + "vue/multi-word-component-names": "off", + "object-curly-spacing": "off", + "lines-between-class-members": ["warn", "always", { exceptAfterSingleLine: true }], + "padding-line-between-statements": [ + "warn", + { blankLine: "always", prev: "function", next: "*" }, + { blankLine: "always", prev: "import", next: ["class", "function"] }, ], - 'padding-line-between-statements': [ - 'warn', - {blankLine: 'always', prev: 'function', next: '*'}, - {blankLine: 'always', prev: 'import', next: ['class', 'function']} - ], - 'vue/html-self-closing': [ - 'warn', + "vue/html-self-closing": [ + "warn", { html: { - void: 'always' - } - } - ] - } + void: "always", + }, + }, + ], + }, }; diff --git a/app/javascript/components/components/ComponentCard.vue b/app/javascript/components/components/ComponentCard.vue index 859b83f5..b4cd745c 100644 --- a/app/javascript/components/components/ComponentCard.vue +++ b/app/javascript/components/components/ComponentCard.vue @@ -23,7 +23,7 @@