mirage/config.js
Function _defineRoutes
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _defineRoutes(server) {
server.passthrough('/write-coverage');
// authentication
server.post('/api/oauth/token', { access_token: 'it is a secret, shh' });
Parsing error: Invalid ecmaVersion. Open
Open
/* eslint-disable no-param-reassign */
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/