Skip to content

Commit 72200ce

Browse files
authored
Merge pull request #1068 from strongloop/turn_offf_strict
Disable `strict` for a few files
2 parents f816e52 + 2830062 commit 72200ce

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

.eslintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// NOTE(bajtos) we should eventually remove this override
1010
// and fix all of those 100+ violations
1111
"one-var": "off",
12-
"no-unused-expressions": "off",
13-
"strict": ["warn", "global"]
12+
"no-unused-expressions": "off"
1413
}
1514
}

lib/dao.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
// Turning on strict for this file breaks lots of test cases;
7+
// disabling strict for this file
8+
/* eslint-disable strict */
9+
610
/*!
711
* Module exports class Model
812
*/

lib/datasource.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
// Turning on strict for this file breaks lots of test cases;
7+
// disabling strict for this file
8+
/* eslint-disable strict */
9+
610
/*!
711
* Module dependencies
812
*/

lib/model.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
// Turning on strict for this file breaks lots of test cases;
7+
// disabling strict for this file
8+
/* eslint-disable strict */
9+
610
/*!
711
* Module exports class Model
812
*/

lib/relation-definition.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
// Turning on strict for this file breaks lots of test cases;
7+
// disabling strict for this file
8+
/* eslint-disable strict */
9+
610
/*!
711
* Dependencies
812
*/

0 commit comments

Comments
 (0)