Commit edac53b9 authored by Imran Hussain's avatar Imran Hussain

Add ESLint as part of dev deps and part of `npm run test`

parent 59874333
{
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"extends": [
"google"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -6,7 +6,7 @@
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "./node_modules/eslint/bin/eslint.js index.js commands/*.js events/*.js"
},
"repository": {
"type": "git",
......@@ -24,6 +24,8 @@
"dotenv": "^8.2.0"
},
"devDependencies": {
"eslint": "^6.5.1",
"eslint-config-google": "^0.14.0",
"nodemon": "^1.19.4"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment