forked from sebsauvage/Shaarli
-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1072 from ArthurHoaro/feature/modern-front-end
Manage frontend dependencies with npm/yarn and webpack
- Loading branch information
Showing
81 changed files
with
5,755 additions
and
9,118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
"extends": "airbnb-base", | ||
"env": { | ||
"browser": true, | ||
}, | ||
"rules": { | ||
"no-param-reassign": 0, // manipulate DOM style properties | ||
"no-restricted-globals": 0, // currently Shaarli uses alert/confirm, could be be improved later | ||
"no-alert": 0, // currently Shaarli uses alert/confirm, could be be improved later | ||
"no-cond-assign": [2, "except-parens"], // assignment in while loops is readable and avoid assignment duplication | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<IfModule version_module> | ||
<IfVersion >= 2.4> | ||
Require all denied | ||
</IfVersion> | ||
<IfVersion < 2.4> | ||
Allow from none | ||
Deny from all | ||
</IfVersion> | ||
</IfModule> | ||
|
||
<IfModule !version_module> | ||
Require all denied | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import Blazy from 'blazy'; | ||
|
||
(() => { | ||
const picwall = document.getElementById('picwall_container'); | ||
if (picwall != null) { | ||
// Suppress ESLint error because that's how bLazy works | ||
/* eslint-disable no-new */ | ||
new Blazy(); | ||
} | ||
})(); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.