Update server scaffold
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
// across your Sails app's code base. These rules are checked against
|
||||
// automatically any time you run `npm test`.
|
||||
//
|
||||
// > An additional eslintrc override file is included in the `assets/` folder
|
||||
// > right out of the box. This is specifically to allow for variations in acceptable
|
||||
// > global variables between front-end JavaScript code designed to run in the browser
|
||||
// > vs. backend code designed to run in a Node.js/Sails process.
|
||||
//
|
||||
// > Note: If you're using mocha, you'll want to add an extra override file to your
|
||||
// > `test/` folder so that eslint will tolerate mocha-specific globals like `before`
|
||||
// > and `describe`.
|
||||
@@ -22,10 +27,7 @@
|
||||
},
|
||||
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 8,
|
||||
"ecmaFeatures": {
|
||||
"experimentalObjectRestSpread": true
|
||||
}
|
||||
"ecmaVersion": 2018
|
||||
},
|
||||
|
||||
"globals": {
|
||||
|
||||
Reference in New Issue
Block a user