summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-11-14 22:37:13 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2016-11-29 16:15:47 +0000
commitc145413d1acb58addb199f0e5bfd909e0a695a5c (patch)
tree081e19130d25dc8f86bf065a85c8a1aec25df4eb /.eslintrc
parent35e6c2baca12d3aaf6bf2ee69c43d0874341c0ce (diff)
downloadgitlab-ce-c145413d1acb58addb199f0e5bfd909e0a695a5c.tar.gz
Remove JSX/React eslint plugins.remove-jsx-react-eslint-plugins
Change airbnb eslint config package to `eslint-config-airbnb-base` and update plugins. Change `airbnb` to `airbnb-base` for .eslintrc `extends` value. Added changelog entry Made sure all plugins and envs are set Corrected new failing specs
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc7
1 files changed, 3 insertions, 4 deletions
diff --git a/.eslintrc b/.eslintrc
index 788a88487d8..b80dcec9d1d 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,15 +1,14 @@
{
"env": {
+ "jquery": true,
"browser": true,
"es6": true
},
- "extends": "airbnb",
+ "extends": "airbnb-base",
"globals": {
- "$": false,
"_": false,
"gl": false,
- "gon": false,
- "jQuery": false
+ "gon": false
},
"plugins": [
"filenames"