Temp Eslint fixes

This commit is contained in:
2020-03-31 10:48:37 +02:00
parent 5ac5d6803f
commit fc74a93508
3 changed files with 7 additions and 8 deletions

View File

@@ -1,17 +1,16 @@
module.exports = {
extends: [
'eslint:recommended'
// 'eslint:recommended'
],
env: {
'browser': true,
// 'node': true,
'es6': true
},
plugins: ['svelte3'],
parserOptions: {
'ecmaVersion': 2019,
'sourceType': 'module'
},
plugins: [ 'svelte3' ],
overrides: [{
files: ['**/*.svelte'],
processor: 'svelte3/svelte3'

View File

@@ -1,6 +1,6 @@
import anime from 'animejs'
import ScrollOut from 'scroll-out'
import { animDuration } from 'utils/store'
// import { animDuration } from 'utils/store'
/*

View File

@@ -1,8 +1,8 @@
import anime from 'animejs'
import ScrollOut from 'scroll-out'
import imagesLoaded from 'imagesloaded'
import { animDuration, animDurationLong } from 'utils/store'
import { throttle, parallaxAnime } from 'utils/functions'
import { parallaxAnime } from 'utils/functions'
// import { animDuration, animDurationLong } from 'utils/store'
/*
@@ -46,8 +46,8 @@ export const animateIn = scope => {
// Number parallax on scroll
const nbParallaxMedia = window.matchMedia('(min-width: 768px)')
const nbParallax = nbParallaxMedia => {
if (nbParallaxMedia.matches) {
const nbParallax = matchMedia => {
if (matchMedia.matches) {
const scroll = ScrollOut({
targets: scope.querySelector('.photo__number span'),
onShown (el) {