diff --git a/.eslintrc b/.eslintrc index d6864ff9..fdc9887d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,7 +9,6 @@ // NOTE(bajtos) we should eventually remove this override // and fix all of those 100+ violations "one-var": "off", - "no-unused-expressions": "off", - "strict": ["warn", "global"] + "no-unused-expressions": "off" } } diff --git a/lib/dao.js b/lib/dao.js index f46cd227..edd93905 100644 --- a/lib/dao.js +++ b/lib/dao.js @@ -3,6 +3,10 @@ // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT +// Turning on strict for this file breaks lots of test cases; +// disabling strict for this file +/* eslint-disable strict */ + /*! * Module exports class Model */ diff --git a/lib/datasource.js b/lib/datasource.js index 08366d43..1b6e008a 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -3,6 +3,10 @@ // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT +// Turning on strict for this file breaks lots of test cases; +// disabling strict for this file +/* eslint-disable strict */ + /*! * Module dependencies */ diff --git a/lib/model.js b/lib/model.js index d1e6b440..9df46a1e 100644 --- a/lib/model.js +++ b/lib/model.js @@ -3,6 +3,10 @@ // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT +// Turning on strict for this file breaks lots of test cases; +// disabling strict for this file +/* eslint-disable strict */ + /*! * Module exports class Model */ diff --git a/lib/relation-definition.js b/lib/relation-definition.js index 4d1f1769..342ffe40 100644 --- a/lib/relation-definition.js +++ b/lib/relation-definition.js @@ -3,6 +3,10 @@ // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT +// Turning on strict for this file breaks lots of test cases; +// disabling strict for this file +/* eslint-disable strict */ + /*! * Dependencies */