|
Last change
on this file was
44361,
checked in by atimmer, 7 years ago
|
|
Build tools: Fix the travis:js build.
After [44359] it is impossible to not use ES6 syntax for some logic in the Gruntfile.js, so adjust the esversion setting for the Gruntfile.js to 6. Because the previous setting in .jshintrc was not compatible with setting esversion, set the esversion in the .jshintrc explicitly.
See #44492.
|
|
File size:
422 bytes
|
| Line | |
|---|
| 1 | { |
|---|
| 2 | "boss": true, |
|---|
| 3 | "curly": true, |
|---|
| 4 | "eqeqeq": true, |
|---|
| 5 | "eqnull": true, |
|---|
| 6 | "esversion": 3, |
|---|
| 7 | "expr": true, |
|---|
| 8 | "immed": true, |
|---|
| 9 | "noarg": true, |
|---|
| 10 | "nonbsp": true, |
|---|
| 11 | "onevar": true, |
|---|
| 12 | "quotmark": "single", |
|---|
| 13 | "trailing": true, |
|---|
| 14 | "undef": true, |
|---|
| 15 | "unused": true, |
|---|
| 16 | |
|---|
| 17 | "browser": true, |
|---|
| 18 | |
|---|
| 19 | "globals": { |
|---|
| 20 | "_": false, |
|---|
| 21 | "Backbone": false, |
|---|
| 22 | "jQuery": false, |
|---|
| 23 | "JSON": false, |
|---|
| 24 | "wp": false, |
|---|
| 25 | "export": false, |
|---|
| 26 | "module": false, |
|---|
| 27 | "require": false |
|---|
| 28 | } |
|---|
| 29 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.