linting and dependencies

This commit is contained in:
Niel 2019-04-19 20:26:30 +02:00
parent 87873fff79
commit 0d715eac74
3 changed files with 1645 additions and 1560 deletions

View file

@ -5,7 +5,12 @@
"extensions": [".js", ".jsx"] "extensions": [".js", ".jsx"]
}], }],
"linebreak-style": "off", "linebreak-style": "off",
"prettier/prettier": ["error"] "prettier/prettier": ["error"],
"react/prop-types": false,
"import/no-cycle": false
}, },
"plugins": ["prettier"] "plugins": ["prettier"],
"env": {
"browser": true
}
} }

View file

@ -3,20 +3,21 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@types/react-router-dom": "^4.3.1",
"react": "^16.8.1", "react": "^16.8.1",
"react-dom": "^16.8.1", "react-dom": "^16.8.1",
"react-router-dom": "^4.3.1" "react-router-dom": "^4.3.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^5.16.0", "eslint": "^5.12.0",
"eslint-config-airbnb": "^17.1.0", "eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0", "eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.17.2", "eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1", "eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4", "eslint-plugin-react": "^7.12.4",
"prettier": "^1.17.0" "node-sass": "^4.11.0",
"prettier": "^1.17.0",
"react-scripts": "^2.1.8"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",

3189
yarn.lock

File diff suppressed because it is too large Load diff