|
@@ -1,7 +1,7 @@
|
|
|
// this file was auto-generated, do not edit it directly.
|
|
// this file was auto-generated, do not edit it directly.
|
|
|
// instead run bin/update_build_scripts from
|
|
// instead run bin/update_build_scripts from
|
|
|
// https://github.com/sharelatex/sharelatex-dev-environment
|
|
// https://github.com/sharelatex/sharelatex-dev-environment
|
|
|
-// Version: 1.3.1
|
|
|
|
|
|
|
+// Version: 1.3.5
|
|
|
{
|
|
{
|
|
|
"extends": [
|
|
"extends": [
|
|
|
"standard",
|
|
"standard",
|
|
@@ -28,7 +28,7 @@
|
|
|
"overrides": [
|
|
"overrides": [
|
|
|
{
|
|
{
|
|
|
// Test specific rules
|
|
// Test specific rules
|
|
|
- "files": ["**/test/*/src/**/*.js"],
|
|
|
|
|
|
|
+ "files": ["test/**/*.js"],
|
|
|
"globals": {
|
|
"globals": {
|
|
|
"expect": true
|
|
"expect": true
|
|
|
},
|
|
},
|
|
@@ -53,18 +53,9 @@
|
|
|
"mocha/prefer-arrow-callback": "error"
|
|
"mocha/prefer-arrow-callback": "error"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- // Frontend test specific rules
|
|
|
|
|
- "files": ["**/test/frontend/**/*.js"],
|
|
|
|
|
- "globals": {
|
|
|
|
|
- "expect": true,
|
|
|
|
|
- "define": true,
|
|
|
|
|
- "$": true
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
// Backend specific rules
|
|
// Backend specific rules
|
|
|
- "files": ["**/app/src/**/*.js"],
|
|
|
|
|
|
|
+ "files": ["app/**/*.js", "app.js", "index.js"],
|
|
|
"rules": {
|
|
"rules": {
|
|
|
// don't allow console.log in backend code
|
|
// don't allow console.log in backend code
|
|
|
"no-console": "error"
|
|
"no-console": "error"
|