1
0
mirror of https://github.com/flarum/core.git synced 2025-07-22 09:11:19 +02:00

Allow some more globals in eslint

This commit is contained in:
Toby Zerner
2015-07-06 15:50:39 +09:30
parent 6fe1c73a49
commit a70fff881d

View File

@@ -1,7 +1,7 @@
{ {
"parser": "babel-eslint", // https://github.com/babel/babel-eslint "parser": "babel-eslint", // https://github.com/babel/babel-eslint
"env": { // http://eslint.org/docs/user-guide/configuring.html#specifying-environments "env": { // http://eslint.org/docs/user-guide/configuring.html#specifying-environments
"browser": true // browser global variables "browser": true // browser global variables
}, },
"ecmaFeatures": { "ecmaFeatures": {
"arrowFunctions": true, "arrowFunctions": true,
@@ -22,7 +22,10 @@
"jsx": true "jsx": true
}, },
"globals": { "globals": {
"m": true "m": true,
"app": true,
"$": true,
"moment": true
}, },
"rules": { "rules": {
/** /**