diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-08-08 06:29:24 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-08-08 06:29:24 +0000 |
commit | 834f1f974a80b7747c248752f733c13e0cdfbff8 (patch) | |
tree | cb4df0d2615f9b011c3926ff8f369698f1c4b6d9 /.eslintrc.yml | |
parent | 83f68719a3fc1bdf195863c4a7ed1b69051e5dc5 (diff) | |
download | gitlab-ce-834f1f974a80b7747c248752f733c13e0cdfbff8.tar.gz |
Disable vue-i18n for non-autofix files
Disables the vue-i18n eslint rules for files
that are not able to be autofixed, this will
stop these offences causing pipeline failures
but they will need manual fixing.
Diffstat (limited to '.eslintrc.yml')
-rw-r--r-- | .eslintrc.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml index 2612fd3371d..95cbc602d5b 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -10,12 +10,15 @@ plugins: - import - html - "@gitlab/i18n" + - "@gitlab/vue-i18n" settings: import/resolver: webpack: config: './config/webpack.config.js' rules: "@gitlab/i18n/no-non-i18n-strings": error + "@gitlab/vue-i18n/no-bare-strings": error + "@gitlab/vue-i18n/no-bare-attribute-strings": error import/no-commonjs: error no-underscore-dangle: - error @@ -36,9 +39,6 @@ rules: vue/use-v-on-exact: off overrides: files: - # Vue is temporarily being disabled until the autofix errors are resolved - # Follow up issue https://gitlab.com/gitlab-org/gitlab-ce/issues/57969 - - '*.vue' - '**/spec/**/*' rules: "@gitlab/i18n/no-non-i18n-strings": off |