gitlab-org--gitlab-foss/.eslintrc
Alfredo Sumaran 18dd4cf54b Update match-regex to fix filename convention
This allows us to pass .js.es6 files as valid filenames;
2016-11-03 16:15:10 -05:00

29 lines
509 B
Text

{
"extends": "airbnb",
"plugins": [
"filenames"
],
"rules": {
"filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"]
},
"globals": {
"$": false,
"_": false,
"beforeEach": false,
"d3": false,
"define": false,
"describe": false,
"document": false,
"expect": false,
"fixture": false,
"gl": false,
"it": false,
"jQuery": false,
"Mousetrap": false,
"spyOn": false,
"spyOnEvent": false,
"Turbolinks": false,
"window": false
}
}