Adding Prettier and fixing up eslint version
Issue-ID: SDC-1094
Change-Id: Ie83ad95a03899345dd90235daf0323cbe3bc6afd
Signed-off-by: Einav Weiss Keidar <einavw@amdocs.com>
diff --git a/dox-sequence-diagram-ui/package.json b/dox-sequence-diagram-ui/package.json
index aa9976e..dbbfd84 100644
--- a/dox-sequence-diagram-ui/package.json
+++ b/dox-sequence-diagram-ui/package.json
@@ -1,57 +1,59 @@
{
- "name": "dox-sequence-diagram-ui",
- "version": "1.0.0",
- "description": "",
- "main": "dist/index.js",
- "scripts": {
- "build": "webpack",
- "start": "webpack-dev-server",
- "lint": "eslint . --ext .js --ext .jsx --cache"
- },
- "author": "ONAP",
- "license": "SEE LICENSE IN LICENSE",
- "dependencies": {
- "d3": "^4.10.0",
- "lodash": "^4.12.0",
- "prop-types": "^15.6.0",
- "react": "^15.6.2",
- "react-dnd": "^2.5.4",
- "react-dnd-html5-backend": "^2.5.4",
- "react-dom": "^15.6.2",
- "react-redux": "^5.0.6",
- "react-select": "1.2.1",
- "redux": "^3.7.2"
- },
- "devDependencies": {
- "babel-core": "^6.26.0",
- "babel-eslint": "^8.2.1",
- "babel-loader": "^7.1.2",
- "babel-plugin-lodash": "^3.3.2",
- "babel-preset-env": "^1.6.1",
- "babel-preset-react": "^6.5.0",
- "copy": "^0.2.0",
- "css-loader": "^0.28.7",
- "eslint": "^2.10.2",
- "eslint-config-airbnb": "^9.0.1",
- "eslint-loader": "^1.3.0",
- "eslint-plugin-import": "^1.8.0",
- "eslint-plugin-jsx-a11y": "^1.2.2",
- "eslint-plugin-react": "^5.1.1",
- "file-loader": "^1.1.6",
- "node-sass": "^4.7.2",
- "path": "^0.12.7",
- "raw-loader": "^0.5.1",
- "redux-devtools": "^3.3.1",
- "sass-loader": "^6.0.6",
- "style-loader": "^0.19.1",
- "svg-sprite-loader": "0.0.19",
- "url-loader": "^0.6.2",
- "webpack": "^2.2.1",
- "webpack-dev-server": "^2.4.2"
- },
- "engines": {
- "node": ">=8.0.0",
- "npm": ">=5.0.0",
- "yarn": "^1.3.2"
- }
-}
\ No newline at end of file
+ "name": "dox-sequence-diagram-ui",
+ "version": "1.0.0",
+ "description": "",
+ "main": "dist/index.js",
+ "scripts": {
+ "build": "webpack",
+ "start": "webpack-dev-server",
+ "lint": "eslint . --ext .js --ext .jsx --cache -c eslintrc.json",
+ "lint-fix": "eslint --fix -c eslintrc.json --ext .js --ext .jsx src"
+ },
+ "author": "ONAP",
+ "license": "SEE LICENSE IN LICENSE",
+ "dependencies": {
+ "d3": "^4.10.0",
+ "lodash": "^4.12.0",
+ "prop-types": "^15.6.0",
+ "react": "^15.6.2",
+ "react-dnd": "^2.5.4",
+ "react-dnd-html5-backend": "^2.5.4",
+ "react-dom": "^15.6.2",
+ "react-redux": "^5.0.6",
+ "react-select": "1.2.1",
+ "redux": "^3.7.2"
+ },
+ "devDependencies": {
+ "babel-core": "^6.26.0",
+ "babel-eslint": "^8.2.1",
+ "babel-loader": "^7.1.2",
+ "babel-plugin-lodash": "^3.3.2",
+ "babel-preset-env": "^1.6.1",
+ "babel-preset-react": "^6.5.0",
+ "copy": "^0.2.0",
+ "css-loader": "^0.28.7",
+ "eslint": "^4.18.1",
+ "eslint-config-prettier": "^2.9.0",
+ "eslint-loader": "^1.9.0",
+ "eslint-plugin-import": "^2.9.0",
+ "eslint-plugin-prettier": "^2.6.0",
+ "eslint-plugin-react": "^7.7.0",
+ "file-loader": "^1.1.6",
+ "node-sass": "^4.7.2",
+ "path": "^0.12.7",
+ "prettier": "^1.10.2",
+ "raw-loader": "^0.5.1",
+ "redux-devtools": "^3.3.1",
+ "sass-loader": "^6.0.6",
+ "style-loader": "^0.19.1",
+ "svg-sprite-loader": "0.0.19",
+ "url-loader": "^0.6.2",
+ "webpack": "^2.2.1",
+ "webpack-dev-server": "^2.4.2"
+ },
+ "engines": {
+ "node": ">=8.0.0",
+ "npm": ">=5.0.0",
+ "yarn": "^1.3.2"
+ }
+}