Commit graph

32 commits

Author SHA1 Message Date
Miodec c1dc87918b build: add eslint-config-prettier
removed roles which conflict with prettier
2023-11-17 14:44:01 +00:00
Bruce Berrios e84f9ec5b7
refactor: add shared types (Bruception) (#4769)
* sharing is caring?

* replace 5 year old package with a more modern one

* ignore firebase config

* update import/resolver settings so that we no longer have to ignore @backend imports

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-11-09 14:03:56 +00:00
Christian Fehmer 3be55de92c
chore: update jQuery to 3.7.1 (fehmer) (#4649)
* chore: update jQuery to 3.7.1

* add version number to easing.js file

* review comments
2023-09-21 13:06:11 +01:00
Miodec 50884a0ace build: fix pre commit issues
Not calling eslint on style, html or json files.
Ignoring style files in es config just in case.
2023-08-17 11:13:56 +02:00
Miodec 5d4ffd903d reminder 2023-06-16 17:13:50 +02:00
Miodec 2830b32f54 updated eslint 2023-06-16 11:06:00 +02:00
Evan 642e99331e
Require === and !== in Backend (#4086) Ferotiq
* eqeqeq in backend

* simplify
2023-03-20 12:11:21 +01:00
Evan 3f73db2e36
Fix ESLint Error (#4026) ferotiq
* fix eslint error

* just look for any tsconfigs down the tree
2023-02-25 22:33:09 +01:00
Miodec 2264af3c70 added rule to avoid duplicate imports 2022-09-27 15:49:02 +02:00
Miodec 8dbfb42367 moved some ts specific rules and params to ts override 2022-09-22 13:56:10 +02:00
Miodec bf5a19077a reverted "fix" 2022-09-22 12:54:30 +02:00
Miodec 4aefa017a8 ignoring frontend when using eslint 2022-09-22 12:09:29 +02:00
Miodec e8a9c870d3 added note 2022-09-20 14:41:19 +02:00
Miodec 5e7d2aad61 added eslint rule to force async markings 2022-09-20 14:25:51 +02:00
Miodec e062c16966 added eslint rule to protect against misused promises 2022-09-20 14:16:12 +02:00
Sondre Kjempekjenn afd288a717
Testing - mock setup for redis (#2944) 2022-05-05 14:05:31 -04:00
Evan f584d683bb
Rename scripts to ts (#2869) ferotiq
* Rename scripts to ts

* Update config.base.js

* Delete firebase-config.ts
2022-04-24 17:20:30 +02:00
Miodec 21c9d5d90d ignoring no-this-alias 2022-04-24 02:05:33 +02:00
Jack fe668e4811
Moved firebase to new modular version 9 sdk (#2727)
* using modular sdk

* removing last script

* replacing more code

* unused code

* removed unused code

* removed unused code

* importing auth

* using analytics controller

* importing auth and analytics

* importing auth

* updated git ignore

* fixed path

* removed live config from gitignore

* added error message when failing to initialize firebase

* added live config
using live config when building production

* removed unused code

* fixed incorrect function use

* added example config

* added a step to the contributing guide

* optional steps

* fixed path

* using example in source code so that github actions dont cry like little babies

* using function correctly

* using function correctly

* ignoring live

* removed

* added action webpack config

* bruce said "no-no"

This reverts commit 0a1e5e1660.

* Fix

* Add ignore

* updated instructions

* using correct functions

* using correct function

* missing parameter

* using correct function

* using correct function

* removed ts ignores

* using new functions

* removed refresh

* using new functions

* merge fix

* fixed merge

* regenereated lockfile

* using correct function

* defaulting to the email thats already entered

* moved lines

Co-authored-by: Bruception <bberr022@fiu.edu>
2022-03-19 12:33:25 +01:00
Jack ab27950bcc
Using date-fns instead of moment (#2707)
* installed date fns

* using date fns

* using date fns

* using date fns

* using date fns

* using date fns

* removed moment

* removed last traces of moment
2022-03-15 19:34:50 +01:00
Jack 5bccc789aa
added curly rule, fixed all errors (#2677) 2022-03-10 21:56:45 +01:00
Miodec 72ba88a917 added unused vars ignore patters 2022-02-22 22:39:26 +01:00
Miodec db59ed01aa linting fix 2022-02-14 02:20:30 +01:00
Ferotiq 319e179600
TypeScript FrontEnd: Some Changes (#2486)
* some changes

* f*** you select2

* Change type roots

* hopefully work

* change commonjs to es6

* parserOptions.project

* as;dfllaksdkjsadadfsldkjsfkdljdsfafdsk;alfsdjf
2022-02-13 18:35:06 +01:00
Rizwan Mustafa 1877cc31e7
(Draft) Replace Browserify with Webpack (Draft) (#2461) by rizwanmustafa
* Replaced browserify with webpack

* Modified gulpfile and webpack config

* Removed attempts of using undefined variables and functions

* fixed some incorrect changes

* setfunbox fix

* Added fallback for crypto-browserify and stream-browserify

* added circular dependency detection

* Created production tasks for gulp and updated webpack config

* fixed circular dependency in misc

* not failing on circular dependency

* Removed unused imports

* Added babel loader and plugins to webpack

* Removed unused dependencies and removed babel's plugins

* Workaround for test logic import in random quote

* Created a separate webpack config file for production

* Changed relative paths to absolute ones in webpack

* Added colored output for circular import number

* Removed comment from .eslintrc.json

* Added eslint plugin to webpack

* Moved 'buffer' and 'stream-browserify' to devDependencies

* Started using promises in webpack tasks

* Removed unused dependencies

* Updated package-lock.json

* Removed eslint plugin from webpack and added circular dependency detection in dev config as well

* Removed unrelated changes

* Updated production build command

* Added ability for webpack to be run with typescript conversion of project in process

* added gulp typscript dev dependency

* using const

* modified console logs on circular imports

* missing dev dependency

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-12 14:47:36 +01:00
Miodec e0b6e4a954 rules and overrides 2022-02-11 23:39:41 +01:00
Miodec 63d9287a3a using one eslint config 2022-02-11 23:34:40 +01:00
Sondre Kjempekjenn 26c57d2ad3
Compile both JS and TS (#2464) by sondrekje
* Compile both JS and TS

Builds upon Ferotiq's PR

* Compile both JS and TS

Builds upon Ferotiq's PR

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-02-11 19:02:21 +01:00
Bruce Berrios f4a9147308
Setup PR check action (#2445) by Bruception 2022-02-08 21:27:14 +01:00
Miodec ba479b31a4 disabled indentation errors 2022-02-07 18:47:24 +01:00
Miodec ce6719e288 updated eslint config 2022-02-07 18:47:24 +01:00
Miodec 79c5b432fc moved eslint to root directory
using file eslint config
keeping folder structure when moving to dist/gen
updated some imports
2022-02-07 18:47:24 +01:00