mirror of
https://github.com/flarum/core.git
synced 2025-07-22 01:01:28 +02:00
Allow some more globals in eslint
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"parser": "babel-eslint", // https://github.com/babel/babel-eslint
|
||||
"env": { // http://eslint.org/docs/user-guide/configuring.html#specifying-environments
|
||||
"browser": true // browser global variables
|
||||
"browser": true // browser global variables
|
||||
},
|
||||
"ecmaFeatures": {
|
||||
"arrowFunctions": true,
|
||||
@@ -22,7 +22,10 @@
|
||||
"jsx": true
|
||||
},
|
||||
"globals": {
|
||||
"m": true
|
||||
"m": true,
|
||||
"app": true,
|
||||
"$": true,
|
||||
"moment": true
|
||||
},
|
||||
"rules": {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user