-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add eslinter, remove duplicate code (#67)
Signed-off-by: Neha Gupta <[email protected]>
- Loading branch information
Showing
12 changed files
with
3,166 additions
and
285 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1 +1,10 @@ | ||
Images should be 500X750 pixels | ||
Guidelines for webstories | ||
1. [ ] The front page will be designed as a cover and will be a little clickbait | ||
2. [ ] The last page will have our website details and a link to a relevant article | ||
3. [ ] Brand colour and font should be the same across all designs | ||
4. [ ] Instead of GIFs using MP4 video clips, GIFs slow down the stories | ||
5. [ ] Just like a normal page, a webstory will have meta tags | ||
6. [ ] There will be a category of web stories | ||
7. [ ] Web Stories must be AMP-compliant, test it with the AMP validator tool -> https://validator.ampproject.org/ | ||
8. [ ] The logo should be a 1:1 ratio, 96X96 px preferred | ||
9. [ ] Images should be 500X750 pixels |
This file was deleted.
Oops, something went wrong.
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,19 @@ | ||
// @ts-check | ||
|
||
const eslint = require('@eslint/js'); | ||
const tseslint = require('typescript-eslint'); | ||
|
||
module.exports = tseslint.config({ | ||
ignores: ["eslint.config.js"] | ||
}, | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
// sourceType: 'module', | ||
project: true, | ||
} | ||
}}, | ||
eslint.configs.recommended, | ||
...tseslint.configs.strictTypeChecked, | ||
...tseslint.configs.stylistic, | ||
); |
Oops, something went wrong.