Skip to content

Commit

Permalink
🔧 Update eslint config for mocha env
Browse files Browse the repository at this point in the history
  • Loading branch information
kghugo committed Aug 4, 2020
1 parent 0c77eb7 commit 605c8dd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"env": {
"browser": true,
"jasmine": true,
"mocha": true,
"es2020": true
},
"plugins": [
Expand Down
14 changes: 14 additions & 0 deletions utilities/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ const isIncluded = (decl, inclusionRules) => {
return inclusionRules.some(unit => RegExp(unit).test(decl));
}

const log = (msgType) => {
switch (msgType) {
case 'success':

break;

case 'error':

break;
default:

}
}

const shouldBeTransformed = (decl, options) => {

if (hasWrappedInRFS(decl)) {
Expand Down

0 comments on commit 605c8dd

Please sign in to comment.