Commit graph

23 commits

Author SHA1 Message Date
Lukas Eipert
7ca77203c0
Replace runtime isEE check with compile time one
This has the benefit that CE bundles will remove dead code in CE only
builds.

We have a follow-up issue to get rid of this completely:

https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
2019-07-05 16:37:39 +02:00
Brandon Labuschagne
3d8163dcf6 Disable unnecessary ESLint i18n offences
Unnecessary offences include false positives as well as flagged
errors which have follow up issues in order to be addressed.

Not all issues have been addressed before this being submitted
in the spirit of results and iteration.
2019-06-13 19:15:25 +00:00
Winnie Hellmann
ad985a7a28 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430

(cherry picked from commit 79a45f7f02)
2019-03-26 16:03:28 +00:00
Filipa Lacerda
022968764c Revert "Merge branch 'winh-remove-sushi' into 'master'"
This reverts merge request !26430
2019-03-22 11:03:15 +00:00
Winnie Hellmann
3e9bb4ad31 Remove .raw from JavaScript fixture file names
There is nothing more to say but

"Commits that change 30 or more lines across at least three files
must describe these changes in the commit body"
2019-03-21 17:16:53 +01:00
Mike Greiling
0905792987
Disable vue/use-v-on-exact due to confusing rule violations 2018-12-11 17:08:30 -06:00
Mike Greiling
971b89279d
Upgrade gitlab eslint config to latest 2018-11-20 09:30:02 -06:00
Mike Greiling
4777415263
Disable conflicting eslint rules 2018-11-20 09:30:02 -06:00
Mike Greiling
a001069faf
Use @gitlab/eslint-config as base in eslintrc 2018-10-16 16:35:40 -05:00
Mike Greiling
d76190371c Resolve "Harmonize prettier and eslint configs" 2018-10-09 15:25:53 +00:00
Mike Greiling
f829b181bc
Resolve eslint-plugin-vue errors
The eslint-plugin-vue upgrade had some breaking changes to
vue/attribute-order which needed to be resolved in order to avoid
disabling the rule entirely
2018-09-20 02:39:50 -05:00
Mike Greiling
4242122a47
Upgrade eslint to v5
We needed to disable a few eslint-config-airbnb-base rules in order
to keep the number of line changes under control.  These should be
re-enabled asap.
2018-09-20 02:38:38 -05:00
Paul Slaughter
254cfcb7f4 Updapte eslintrc no-param-reassign with 'ignorePropertyModificationsFor' 2018-09-06 14:42:25 -05:00
gfyoung
23cdae8eee Enable "prefer-destructuring" in JS files
Partially addresses #47006.
2018-06-25 11:53:57 -07:00
gfyoung
dbc74800e2 Enable no-multi-assignment in JS files
Partially addresses #47006.
2018-06-15 13:08:47 -07:00
gfyoung
bce890820f Enable no-restricted-globals in JS files 2018-06-15 15:58:27 +00:00
Lukas Eipert
5777057325
disable no-multi-assign 2018-05-29 18:42:44 +02:00
Lukas Eipert
ef849c6ce7
use the old indent-rule for now 2018-05-29 18:42:21 +02:00
Lukas Eipert
0692be4c3b
disable no-restricted-globals 2018-05-29 18:42:17 +02:00
Lukas Eipert
ee9974b6d1
disable prefer-destructuring for now 2018-05-29 18:42:13 +02:00
Lukas Eipert
76082ce9aa
disable rules that might be conflicting with prettier 2018-05-29 18:42:09 +02:00
Lukas Eipert
a626675a37
disable function-paren-newline as it conflicts with prettier 2018-05-29 18:42:02 +02:00
Lukas Eipert
c0f3bd92a7
convert eslintrc to yml 2018-05-29 18:35:07 +02:00