Skip to content

Commit

Permalink
Merge pull request #1 from Josphat205/workbranch
Browse files Browse the repository at this point in the history
Daily Todo list
  • Loading branch information
Josphat205 committed Jun 2, 2022
2 parents be8dfc2 + 44c9d32 commit 9261243
Show file tree
Hide file tree
Showing 17 changed files with 7,518 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,26 @@
{
"env": {
"browser": true,
"es6": true,
"jest": true,
"jquery": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": ["airbnb-base"],
"rules": {
"no-shadow": "off",
"no-param-reassign": "off",
"eol-last": "off",
"import/extensions": [ 1, {
"js": "always", "json": "always"
}]
},
"ignorePatterns": [
"dist/",
"build/"
]
}
62 changes: 62 additions & 0 deletions .github/workflows/linters.yml
@@ -0,0 +1,62 @@
name: Linters

on: pull_request

env:
FORCE_COLOR: 1

jobs:
lighthouse:
name: Lighthouse
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup Lighthouse
run: npm install -g @lhci/cli@0.7.x
- name: Lighthouse Report
run: lhci autorun --upload.target=temporary-public-storage --collect.staticDistDir=.
webhint:
name: Webhint
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup Webhint
run: |
npm install --save-dev hint@6.x
[ -f .hintrc ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.hintrc
- name: Webhint Report
run: npx hint .
stylelint:
name: Stylelint
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup Stylelint
run: |
npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x
[ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.stylelintrc.json
- name: Stylelint Report
run: npx stylelint "**/*.{css,scss}"
eslint:
name: ESLint
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup ESLint
run: |
npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x
[ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.eslintrc.json
- name: ESLint Report
run: npx eslint .
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules/
18 changes: 18 additions & 0 deletions .hintrc
@@ -0,0 +1,18 @@
{
"connector": {
"name": "local",
"options": {
"pattern": ["**", "!.git/**", "!node_modules/**"]
}
},
"extends": ["development"],
"formatters": ["stylish"],
"hints": [
"button-type",
"disown-opener",
"html-checker",
"meta-charset-utf-8",
"meta-viewport",
"no-inline-styles:error"
]
}
20 changes: 20 additions & 0 deletions .stylelintrc.json
@@ -0,0 +1,20 @@
{
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-scss", "stylelint-csstree-validator"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["tailwind", "apply", "variants", "responsive", "screen"]
}
],
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["tailwind", "apply", "variants", "responsive", "screen"]
}
],
"csstree/validator": true
},
"ignoreFiles": ["build/**", "dist/**", "**/reset*.css", "**/bootstrap*.css", "**/*.js", "**/*.jsx"]
}
52 changes: 51 additions & 1 deletion README.md
@@ -1 +1,51 @@
# Daily-to-list
## **TODO LIST**
It list everything that you have to do, with the most important tasks at the top of the list, and the least important tasks at the bottom. By keeping such a list, you make sure that your tasks are written down all in one place so you don't forget anything important.<br />

Built With<br />
HTML<br />
CSS<br />
JAVASCRIPT<br />
WEBPACK<br />

## **Getting Started**


To get a local copy up and running follow these simple example steps.<br />
## **Live demo**
Click here for [@Live Demo]( https://github.com/Josphat205/work-todo-list).

## **Setup**
To use this project copy the code SSl link othe repository<br />
## Install
1. Install with [`git`](git@github.com:Josphat205/work-todo-list.git)

- `$ git clone git@github.com:Josphat205/awesome-books.git`
## **Usage**
You can use the project for learning, know how codes are arranged in Html , javascript and Css
## **Run tests**
To check errors on your codes run linters commands<br />
## **Deployment**
1. Go to setting on your github repo
2. go to pages
3. Deploy pages
4. change the branch to main and save
## **Authors**
👤 Author1

GitHub: @josphat205<br />


Twitter: @twitter3745635<br />


LinkedIn: Josphat Kiploman<br />

## **🤝 Contributing**
1. Clone repo and create a new branch: `$ git clone git@github.com:Josphat205/work-todo-list.git.`
2. Make changes and test
3. Submit Pull Request with comprehensive description of changes

Feel free to check the issues page.<br />

## **Show your support**
Give a ⭐️ if you like this project!
2 changes: 2 additions & 0 deletions dist/bundle.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/bundle.js.LICENSE.txt
@@ -0,0 +1,8 @@
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
1 change: 1 addition & 0 deletions dist/index.html
@@ -0,0 +1 @@
<!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"><title>todo list</title><link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous"><script defer="defer" src="/runtime.js"></script><script defer="defer" src="/bundle.js"></script></head><body><div class="card"><div class="card-header d-flex justify-content-between align-items-center py-5"><h4>Todays To Do</h4><i class="fa-solid fa-arrows-rotate"></i></div><div class="card-header d-flex justify-content-between align-items-center py-3"><input class="input" id="form-input" placeholder="Add to your list"> <i class="fa fa-arrow-left"></i></div><ul id="list-items"></ul><div class="footer py-3 text-center"><h5>Clear all completed</h5></div></div><script src="https://kit.fontawesome.com/b0c7c255c0.js" crossorigin="anonymous"></script><script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script><script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.15.0/Sortable.min.js" integrity="sha512-Eezs+g9Lq4TCCq0wae01s9PuNWzHYoCMkE97e2qdkYthpI0pzC3UGB03lgEHn2XM85hDOUF6qgqqszs+iXU4UA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script><script src="./dist/bundle.js"></script></body></html>
1 change: 1 addition & 0 deletions dist/runtime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9261243

Please sign in to comment.