react/src/serviceWorker.js
Function registerValidSW
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerValidSW(swUrl, config) {
navigator.serviceWorker
.register(swUrl)
.then(registration => {
registration.onupdatefound = () => {
- Create a ticketCreate a ticket
Parsing error: 'import' and 'export' may appear only with 'sourceType: module' Open
Open
export function register(config) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/