Merge pull request #1068 from strongloop/turn_offf_strict
Disable `strict` for a few files
This commit is contained in:
commit
72200ce935
|
@ -9,7 +9,6 @@
|
||||||
// NOTE(bajtos) we should eventually remove this override
|
// NOTE(bajtos) we should eventually remove this override
|
||||||
// and fix all of those 100+ violations
|
// and fix all of those 100+ violations
|
||||||
"one-var": "off",
|
"one-var": "off",
|
||||||
"no-unused-expressions": "off",
|
"no-unused-expressions": "off"
|
||||||
"strict": ["warn", "global"]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
// This file is licensed under the MIT License.
|
// This file is licensed under the MIT License.
|
||||||
// License text available at https://opensource.org/licenses/MIT
|
// 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
|
* Module exports class Model
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
// This file is licensed under the MIT License.
|
// This file is licensed under the MIT License.
|
||||||
// License text available at https://opensource.org/licenses/MIT
|
// 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
|
* Module dependencies
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
// This file is licensed under the MIT License.
|
// This file is licensed under the MIT License.
|
||||||
// License text available at https://opensource.org/licenses/MIT
|
// 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
|
* Module exports class Model
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
// This file is licensed under the MIT License.
|
// This file is licensed under the MIT License.
|
||||||
// License text available at https://opensource.org/licenses/MIT
|
// 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
|
* Dependencies
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue