Skip to content
Permalink
Browse files
Adjusted the index page and readjusted the reviews page with their ow…
…n style. This has been done to seperate the two pages so that it meets the criteria of the project.
  • Loading branch information
moham919 committed Dec 5, 2019
2 parents 6ccb13b + a968615 commit ff73032dbf9937bb48f703e83f28829aec0720dd
Show file tree
Hide file tree
Showing 5,339 changed files with 594,201 additions and 264 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -0,0 +1,4 @@

docs/**
node_modules/**
coverage/**
@@ -0,0 +1,76 @@

{
"env": {
"es6": true,
"jasmine": true,
"node": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2018,
"noInlineConfig": true,
"reportUnusedDisableDirectives": true
},
"rules": {
"arrow-body-style": "error",
"arrow-spacing": ["warn", {"before": true, "after": true}],
"brace-style": "error",
"camelcase": ["error", {"properties": "never"}],
"complexity": ["error", 5],
"eol-last": "warn",
"eqeqeq": "error",
"func-call-spacing": ["error", "never"],
"global-require": "error",
"handle-callback-err": "warn",
"indent": ["warn", "tab", {"SwitchCase": 1}],
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
"linebreak-style": ["warn", "unix"],
"max-depth": ["error", 3],
"max-len": ["warn", { "code": 120, "tabWidth": 4 }],
"max-lines": ["warn", {"max": 150, "skipBlankLines": true, "skipComments": true}],
"max-lines-per-function": ["warn", {"max": 20, "skipBlankLines": true, "skipComments": true}],
"max-nested-callbacks": ["error", 4],
"max-params": ["error", 5],
"max-statements": ["error", 20],
"no-cond-assign": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty": "warn",
"no-empty-function": "error",
"no-multiple-empty-lines": "warn",
"no-extra-parens": "error",
"no-func-assign": "error",
"no-irregular-whitespace": "error",
"no-magic-numbers": ["warn", {"ignore": [-1, 0, 1]}],
"no-multi-spaces": "warn",
"no-multi-str": "off",
"no-unexpected-multiline": "error",
"no-unreachable": "error",
"no-self-assign": "error",
"no-trailing-spaces": "warn",
"no-undef": "error",
"no-unused-vars": "warn",
"no-var": 2,
"prefer-arrow-callback": "warn",
"prefer-const": "error",
"prefer-template": "error",
"quotes": ["warn", "single"],
"semi": ["warn", "never"],
"space-before-blocks": ["error", { "functions": "always", "keywords": "always", "classes": "always" }],
"space-before-function-paren": ["error", "never"],
"strict": ["error", "global"],
"yoda": "error"
},
"overrides": [{
"files": [ "*.test.js", "*.spec.js", "*.steps.js" ],
"rules": {
"global-require": "off",
"max-lines-per-function": "off",
"max-lines": "off",
"max-statements": "off",
"no-magic-numbers": "off"
}
}]
}
@@ -0,0 +1,3 @@
{
"git.ignoreLimitWarning": true
}
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1575549559736" clover="3.2.0">
<project timestamp="1575549559736" name="All files">
<metrics statements="78" coveredstatements="52" conditionals="28" coveredconditionals="17" methods="13" coveredmethods="8" elements="119" coveredelements="77" complexity="0" loc="78" ncloc="78" packages="1" files="3" classes="3"/>
<file name="accounts.js" path="C:\Users\Hashim\Desktop\Uni\Year 2\5001CEM - Software Engineering\Local_News\modules\accounts.js">
<metrics statements="23" coveredstatements="15" conditionals="6" coveredconditionals="2" methods="5" coveredmethods="2"/>
<line num="10" count="1" type="stmt"/>
<line num="11" count="1" type="stmt"/>
<line num="20" count="3" type="stmt"/>
<line num="21" count="3" type="stmt"/>
<line num="22" count="3" type="stmt"/>
<line num="23" count="3" type="stmt"/>
<line num="24" count="3" type="stmt"/>
<line num="25" count="3" type="stmt"/>
<line num="26" count="3" type="cond" truecount="1" falsecount="1"/>
<line num="27" count="0" type="stmt"/>
<line num="29" count="0" type="stmt"/>
<line num="33" count="1" type="stmt"/>
<line num="34" count="3" type="stmt"/>
<line num="35" count="3" type="stmt"/>
<line num="36" count="3" type="cond" truecount="1" falsecount="1"/>
<line num="37" count="0" type="stmt"/>
<line num="38" count="0" type="stmt"/>
<line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="40" count="0" type="stmt"/>
<line num="42" count="3" type="stmt"/>
<line num="57" count="0" type="stmt"/>
<line num="68" count="0" type="stmt"/>
<line num="78" count="1" type="stmt"/>
</file>
<file name="register.js" path="C:\Users\Hashim\Desktop\Uni\Year 2\5001CEM - Software Engineering\Local_News\modules\register.js">
<metrics statements="27" coveredstatements="18" conditionals="9" coveredconditionals="6" methods="4" coveredmethods="3"/>
<line num="3" count="1" type="stmt"/>
<line num="4" count="1" type="stmt"/>
<line num="7" count="0" type="stmt"/>
<line num="8" count="0" type="stmt"/>
<line num="9" count="0" type="stmt"/>
<line num="10" count="0" type="stmt"/>
<line num="11" count="0" type="stmt"/>
<line num="12" count="0" type="stmt"/>
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="14" count="0" type="stmt"/>
<line num="16" count="0" type="stmt"/>
<line num="21" count="1" type="stmt"/>
<line num="24" count="3" type="stmt"/>
<line num="25" count="3" type="stmt"/>
<line num="26" count="3" type="stmt"/>
<line num="27" count="3" type="stmt"/>
<line num="28" count="3" type="stmt"/>
<line num="34" count="3" type="stmt"/>
<line num="35" count="3" type="cond" truecount="2" falsecount="0"/>
<line num="36" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="1" type="stmt"/>
<line num="38" count="1" type="stmt"/>
<line num="39" count="1" type="cond" truecount="1" falsecount="1"/>
<line num="40" count="1" type="stmt"/>
<line num="41" count="1" type="stmt"/>
<line num="42" count="1" type="stmt"/>
<line num="44" count="2" type="stmt"/>
</file>
<file name="upload.js" path="C:\Users\Hashim\Desktop\Uni\Year 2\5001CEM - Software Engineering\Local_News\modules\upload.js">
<metrics statements="28" coveredstatements="19" conditionals="13" coveredconditionals="9" methods="4" coveredmethods="3"/>
<line num="3" count="1" type="stmt"/>
<line num="7" count="0" type="stmt"/>
<line num="8" count="0" type="stmt"/>
<line num="9" count="0" type="stmt"/>
<line num="10" count="0" type="stmt"/>
<line num="11" count="0" type="stmt"/>
<line num="12" count="0" type="stmt"/>
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="14" count="0" type="stmt"/>
<line num="16" count="0" type="stmt"/>
<line num="21" count="1" type="stmt"/>
<line num="24" count="5" type="stmt"/>
<line num="25" count="5" type="stmt"/>
<line num="26" count="5" type="stmt"/>
<line num="27" count="5" type="stmt"/>
<line num="28" count="5" type="stmt"/>
<line num="34" count="5" type="stmt"/>
<line num="35" count="5" type="cond" truecount="2" falsecount="0"/>
<line num="36" count="4" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="38" count="1" type="cond" truecount="1" falsecount="1"/>
<line num="39" count="1" type="stmt"/>
<line num="40" count="1" type="stmt"/>
<line num="41" count="1" type="cond" truecount="1" falsecount="1"/>
<line num="42" count="1" type="stmt"/>
<line num="43" count="1" type="stmt"/>
<line num="44" count="1" type="stmt"/>
<line num="46" count="4" type="stmt"/>
</file>
</project>
</coverage>

0 comments on commit ff73032

Please sign in to comment.