Skip to content

Commit

Permalink
Add ESlint and codeQL and fix errors
Browse files Browse the repository at this point in the history
Add eslint script to root package.json
Fix all eslint errors

Add eslint github workflow
Add codeQL github workflow
  • Loading branch information
nielm committed Nov 29, 2023
1 parent a89e38f commit 859dd3c
Show file tree
Hide file tree
Showing 25 changed files with 5,111 additions and 850 deletions.
27 changes: 24 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,29 @@
*/

module.exports = {
"parserOptions": {
"ecmaVersion": 8
'env': {
'browser': true,
'commonjs': true,
'es2021': true,
},
'extends': 'google',
'overrides': [
{
'env': {
'node': true,
},
'files': [
'.eslintrc.{js,cjs}',
],
'parserOptions': {
'sourceType': 'script',
},
},
],
'parserOptions': {
'ecmaVersion': 'latest',
},
'rules': {
},
"extends": ["eslint:recommended", "google"]
};

Loading

0 comments on commit 859dd3c

Please sign in to comment.