aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-06 20:19:45 +0100
committerGitHub <noreply@github.com>2022-03-06 20:19:45 +0100
commitccbca8b9cede972480dd1ef7a73db71a99be9609 (patch)
treee3e3c5b9232d86cf8ba18f898a90f1f2295c2b4e /package.json
parent8d4cd02b7cbe955f5a5ce1666fc76a51db4be5d5 (diff)
parent59c0773e95756aa62027db7a5754e7e986ca2b19 (diff)
Merge pull request #94 from caleb-mabry/add-linting
Adding AirBNB Linting style
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6f6d802..7971138 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,9 @@
"deploy": "cross-env NODE_ENV=production webpack -p",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config webpack.config.js",
- "start": "webpack serve --config webpack.config.js"
+ "start": "webpack serve --config webpack.config.js",
+ "lint": "eslint . --ext .js",
+ "lint:fix": "eslint --fix . --ext .js"
},
"repository": {
"type": "git",
@@ -26,6 +28,8 @@
"babel-loader": "^8.2.3",
"dotenv": "^16.0.0",
"eslint": "^8.10.0",
+ "eslint-config-airbnb-base": "^15.0.0",
+ "eslint-plugin-import": "^2.25.4",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"