Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

[wip] add pieces for ESLint (issue #220) #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions software/cloud-dashboard/react-client/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
"parser": "babel-eslint",
"extends": "google"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go with AirBnB style...it's the most popular and easy on the eyes :).

};
12 changes: 11 additions & 1 deletion software/cloud-dashboard/react-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@
"css-loader": "0.26.0",
"detect-port": "1.0.1",
"dotenv": "2.0.0",
"eslint": "3.8.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-google": "^0.9.1",
"eslint-config-react-app": "^0.4.0",
"eslint-config-standard": "^11.0.0",
"eslint-loader": "1.6.0",
"eslint-plugin-flowtype": "2.21.0",
"eslint-plugin-import": "2.0.1",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-markdown": "^1.0.0-beta.8",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-react": "6.4.1",
"eslint-plugin-standard": "^3.1.0",
"extract-text-webpack-plugin": "1.0.1",
"file-loader": "0.9.0",
"filesize": "3.3.0",
Expand Down Expand Up @@ -71,6 +79,8 @@
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node scripts/test.js --env=jsdom"
},
"jest": {
Expand Down