Skip to content

Commit

Permalink
add linting, fixed code style, add npm scripts (#49)
Browse files Browse the repository at this point in the history
* first linting changes

* fix popup course selection bug

* fixed all linter issues

* small fix

* add test and lint script
  • Loading branch information
OliEfr authored Sep 27, 2021
1 parent bef1635 commit 8103c98
Show file tree
Hide file tree
Showing 46 changed files with 23,905 additions and 22,991 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/src/thirdParty/
node_modules
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
env: {
browser: true,
es2021: true,
webextensions: true,
jquery: true
},
extends: ['standard'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
},
plugins: ['@typescript-eslint'],
rules: {}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading

0 comments on commit 8103c98

Please sign in to comment.