Skip to content

Commit

Permalink
Add: linter script
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipavlov-7DIGIT committed Aug 31, 2023
1 parent 7ba73ee commit d6cfb8e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
"plugins": ["prettier"],
"rules": {
"no-undefined": "off",
"no-undef": "off"
"no-undef": "off",
"quotes": [
"error",
"double",
{
"allowTemplateLiterals": true
}
]
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "USupport admin Node.js API service",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint . --ext .js,.jsx"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit d6cfb8e

Please sign in to comment.