UNPKG

eslint-config-edx-es5

Version:
32 lines (26 loc) 776 B
(function(root, factory) { 'use strict'; if (typeof define === 'function' && define.amd) { // Export as AMD, for RequireJS define([], factory); } else if (typeof module === 'object' && module.exports) { // Export as CommonJS, for Node module.exports = factory(); } }(this, function() { 'use strict'; return function() { var propertyQuote = { bar: 'buzz', 'mixed-quote-prop': 'mixed quotes are ok!' }, simpleESLintTest = 'This file should have no errors'; if (propertyQuote.bar === 'X') { return false; } if (simpleESLintTest.charAt(0) === 'X') { return false; } return true; }; }));