Add eslint with friends
.babelrc
deleted
100644 → 0
.eslintrc
0 → 100644
babel.config.js
0 → 100644
This diff is collapsed.
... | @@ -5,7 +5,8 @@ | ... | @@ -5,7 +5,8 @@ |
"main": "index.js", | "main": "index.js", | ||
"scripts": { | "scripts": { | ||
"webpack": "webpack", | "webpack": "webpack", | ||
"start": "webpack-dev-server" | "start": "webpack-dev-server", | ||
"eslint": "eslint src/**/*.jsx" | |||
}, | }, | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
... | @@ -40,7 +41,13 @@ | ... | @@ -40,7 +41,13 @@ |
"@babel/plugin-proposal-class-properties": "^7.1.0", | "@babel/plugin-proposal-class-properties": "^7.1.0", | ||
"@babel/preset-env": "^7.1.0", | "@babel/preset-env": "^7.1.0", | ||
"@babel/preset-react": "^7.0.0", | "@babel/preset-react": "^7.0.0", | ||
"babel-eslint": "^10.0.1", | |||
"babel-loader": "^8.0.2", | "babel-loader": "^8.0.2", | ||
"eslint": "^5.9.0", | |||
"eslint-config-airbnb": "^17.1.0", | |||
"eslint-plugin-import": "^2.14.0", | |||
"eslint-plugin-jsx-a11y": "^6.1.2", | |||
"eslint-plugin-react": "^7.11.1", | |||
"prop-types": "^15.6.2", | "prop-types": "^15.6.2", | ||
"react": "^16.5.2", | "react": "^16.5.2", | ||
"react-dnd": "^2.5.4", | "react-dnd": "^2.5.4", | ||
... | ... |
Please register or sign in to comment