forked from creativetimofficial/material-dashboard-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes creativetimofficial#47. eslint and prettier added with react plugin as optional dependencies. Ignores documentation directory. Matches current styling rules in place. To run use npm run-script lint.
- Loading branch information
Showing
3 changed files
with
70 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
documentation/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"env": { | ||
"es6": true, | ||
"node": true, | ||
"browser": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"prettier", | ||
"prettier/react", | ||
"prettier/standard" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,49 @@ | ||
{ | ||
"name": "material-dashboard-react", | ||
"version": "1.2.0", | ||
"description": "Material Dashboard React. Coded by Creative Tim", | ||
"private": false, | ||
"main": "index.js", | ||
"dependencies": { | ||
"@material-ui/core": "1.2.1", | ||
"@material-ui/icons": "1.1.0", | ||
"@types/googlemaps": "3.30.9", | ||
"@types/markerclustererplus": "2.1.33", | ||
"ajv": "6.5.1", | ||
"chartist": "0.10.1", | ||
"classnames": "2.2.6", | ||
"npm-run-all": "4.1.3", | ||
"perfect-scrollbar": "1.4.0", | ||
"react": "16.4.0", | ||
"react-chartist": "0.13.1", | ||
"react-dom": "16.4.0", | ||
"react-google-maps": "9.4.5", | ||
"react-router-dom": "4.3.1", | ||
"react-scripts": "1.1.4", | ||
"react-swipeable-views": "0.12.13" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test --env=jsdom", | ||
"eject": "react-scripts eject" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/creativetimofficial/material-dashboard-react.git" | ||
}, | ||
"keywords": [], | ||
"author": "Creative Tim <[email protected]> (https://www.creative-tim.com/)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/creativetimofficial/material-dashboard-react/issues" | ||
}, | ||
"homepage": "https://creativetimofficial.github.io/material-dashboard-react/#/dashboard" | ||
} | ||
"name": "material-dashboard-react", | ||
"version": "1.2.0", | ||
"description": "Material Dashboard React. Coded by Creative Tim", | ||
"private": false, | ||
"main": "index.js", | ||
"dependencies": { | ||
"@material-ui/core": "1.2.1", | ||
"@material-ui/icons": "1.1.0", | ||
"@types/googlemaps": "3.30.9", | ||
"@types/markerclustererplus": "2.1.33", | ||
"ajv": "6.5.1", | ||
"chartist": "0.10.1", | ||
"classnames": "2.2.6", | ||
"npm-run-all": "4.1.3", | ||
"perfect-scrollbar": "1.4.0", | ||
"react": "16.4.0", | ||
"react-chartist": "0.13.1", | ||
"react-dom": "16.4.0", | ||
"react-google-maps": "9.4.5", | ||
"react-router-dom": "4.3.1", | ||
"react-scripts": "1.1.4", | ||
"react-swipeable-views": "0.12.13" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test --env=jsdom", | ||
"eject": "react-scripts eject", | ||
"lint": "eslint . --fix; exit 0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/creativetimofficial/material-dashboard-react.git" | ||
}, | ||
"keywords": [], | ||
"author": "Creative Tim <[email protected]> (https://www.creative-tim.com/)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/creativetimofficial/material-dashboard-react/issues" | ||
}, | ||
"homepage": "https://creativetimofficial.github.io/material-dashboard-react/#/dashboard", | ||
"optionalDependencies": { | ||
"eslint": "^5.1.0", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-react": "^7.10.0", | ||
"prettier": "^1.13.7" | ||
} | ||
} |