Skip to content

Commit

Permalink
tests sort of working - lint working
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Mar 8, 2021
1 parent b3cbcce commit 10f86da
Show file tree
Hide file tree
Showing 12 changed files with 506 additions and 96 deletions.
23 changes: 21 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
{
"extends": ["prettier"],
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
}
},
"env": {
"browser": true,
"es6": true
},
"overrides": [
{
"files": ["test/*.ts"],
"env": {
"mocha": true
},
"plugins": ["mocha"],
"rules": {
"mocha/no-exclusive-tests": "error",
"mocha/no-pending-tests": "error",
"@typescript-eslint/no-var-requires": 0
}
}
]
}
2 changes: 1 addition & 1 deletion dist/tonicpow.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widget.js

Large diffs are not rendered by default.

Loading

0 comments on commit 10f86da

Please sign in to comment.