Skip to content

Commit

Permalink
use modules, add linting and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
casens5 committed Jun 12, 2021
1 parent cf6079c commit 8cab9c6
Show file tree
Hide file tree
Showing 20 changed files with 1,114 additions and 982 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["airbnb-base"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12
},
"plugins": ["@typescript-eslint"],
"rules": {
"quotes": 0,
"comma-dangle": "off",
"no-console": 0,
"no-multiple-empty-lines": 0,
"spaced-comment": 0,
"operator-linebreak": "off",
"strict": 0
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ todo.txt
notes.txt
*.swp
node_modules
assets/svg/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

[ludant.github.io/flaggy](https://ludant.github.io/flaggy/)

a deterministic-random generator for SVG user avatars. inspired by [designs of national flags](https://old.reddit.com/r/vexillology/).
a deterministicly-random generator for SVG user avatars. inspired by [designs of national flags](https://old.reddit.com/r/vexillology/).

`flaggy.js` is the module which takes a number as input and produces an SVG. `main.js` handles the functions of the portfolio site. around 10,000,000 designs are theoretically possible, due to my hand-made deterministic number generator function `bigChungus`.
`flaggy.js` is the module which takes a number as input and produces an SVG. `main.js` handles the functions of the portfolio site. around 10,000,000 designs are theoretically possible, due to the hand-made deterministic number generator function `bigChungus`.
6 changes: 0 additions & 6 deletions assets/botswana.svg

This file was deleted.

14 changes: 0 additions & 14 deletions assets/burundi.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/imperial_japan.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/israel.svg

This file was deleted.

5 changes: 0 additions & 5 deletions assets/japan.svg

This file was deleted.

7 changes: 0 additions & 7 deletions assets/luxembourg.svg

This file was deleted.

13 changes: 0 additions & 13 deletions assets/norway.svg

This file was deleted.

Loading

0 comments on commit 8cab9c6

Please sign in to comment.