mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
updated jshint config to use 'node: true' at the root of the project, and switch to 'node: false' within the test and src dirs
This commit is contained in:
parent
13baa44e98
commit
5b9d739036
3 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"unused": false,
|
||||
"browser": true,
|
||||
"node": false,
|
||||
"browser": false,
|
||||
"node": true,
|
||||
|
||||
"globals": {
|
||||
"define": true,
|
||||
|
|
5
src/.jshintrc
Normal file
5
src/.jshintrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"extends": "../.jshintrc",
|
||||
"browser": true,
|
||||
"node": false
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../.jshintrc",
|
||||
"extends": "../src/.jshintrc",
|
||||
|
||||
"white": false,
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
|||
"before": true,
|
||||
"after": true,
|
||||
"expect": true,
|
||||
"define": true
|
||||
"define": true,
|
||||
"require": true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue