summaryrefslogtreecommitdiff
path: root/.eslintrc.yml
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 8d34efc9a6b..0639228fe51 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -1,6 +1,6 @@
extends:
- - '@gitlab'
- - plugin:promise/recommended
+ - plugin:@gitlab/default
+ - plugin:@gitlab/i18n
- plugin:no-jquery/slim
- plugin:no-jquery/deprecated-3.4
globals:
@@ -16,9 +16,6 @@ settings:
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
@@ -54,4 +51,4 @@ overrides:
- files:
- '**/spec/**/*'
rules:
- "@gitlab/i18n/no-non-i18n-strings": off
+ "@gitlab/require-i18n-strings": off