Skip to content

Commit

Permalink
Install linter and set root for vite
Browse files Browse the repository at this point in the history
  • Loading branch information
Staijn1 committed Jun 2, 2024
1 parent e35e216 commit 78269ef
Show file tree
Hide file tree
Showing 7 changed files with 1,742 additions and 15 deletions.
15 changes: 15 additions & 0 deletions aos/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"extends": [
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": [2, {
"singleQuote": true
}]
}
}
File renamed without changes.
4 changes: 2 additions & 2 deletions aos/index.html → aos/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
<div data-id="23" class="aos-item" data-aos="zoom-out-up"></div>
<div data-id="24" class="aos-item" data-aos="zoom-out-down"></div>
</div>
<script type="module" src="/src/js/aos.js"></script>
<!--<script type="module" src="../src/js/aos.js"></script>-->
<script type="module">
import AOS from '/src/js/aos.js';
import AOS from '../src/js/aos.js';

document.querySelector('html').classList.remove('no-js');
if (!window.Cypress) {
Expand Down
Loading

0 comments on commit 78269ef

Please sign in to comment.