Merge branch 'all-linting' into 'master'
All linting See merge request xpub!64
No related branches found
No related tags found
Showing
- .eslintrc 27 additions, 1 deletion.eslintrc
- .prettierrc 1 addition, 2 deletions.prettierrc
- .stylelintrc 1 addition, 6 deletions.stylelintrc
- package.json 9 additions, 8 deletionspackage.json
- packages/component-app/src/components/App.js 12 additions, 12 deletionspackages/component-app/src/components/App.js
- packages/component-app/src/components/index.js 3 additions, 1 deletionpackages/component-app/src/components/index.js
- packages/component-app/src/index.js 1 addition, 3 deletionspackages/component-app/src/index.js
- packages/component-authentication/src/components/Form.local.scss 29 additions, 21 deletions...s/component-authentication/src/components/Form.local.scss
- packages/component-authentication/src/components/Login.js 11 additions, 15 deletionspackages/component-authentication/src/components/Login.js
- packages/component-authentication/src/components/LoginPage.js 16 additions, 16 deletions...ages/component-authentication/src/components/LoginPage.js
- packages/component-authentication/src/components/LogoutPage.js 8 additions, 10 deletions...ges/component-authentication/src/components/LogoutPage.js
- packages/component-authentication/src/components/PrivateRoute.js 31 additions, 21 deletions...s/component-authentication/src/components/PrivateRoute.js
- packages/component-authentication/src/components/Signup.js 13 additions, 17 deletionspackages/component-authentication/src/components/Signup.js
- packages/component-authentication/src/components/SignupPage.js 4 additions, 6 deletions...ges/component-authentication/src/components/SignupPage.js
- packages/component-authentication/src/index.js 3 additions, 5 deletionspackages/component-authentication/src/index.js
- packages/component-authentication/src/redux/currentUser.js 20 additions, 22 deletionspackages/component-authentication/src/redux/currentUser.js
- packages/component-authentication/src/redux/login.js 7 additions, 7 deletionspackages/component-authentication/src/redux/login.js
- packages/component-authentication/src/redux/logout.js 1 addition, 1 deletionpackages/component-authentication/src/redux/logout.js
- packages/component-authentication/src/redux/signup.js 7 additions, 7 deletionspackages/component-authentication/src/redux/signup.js
- packages/component-authentication/styleguide.config.js 8 additions, 6 deletionspackages/component-authentication/styleguide.config.js
... | ... | @@ -4,11 +4,12 @@ |
"private": true, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"babel-eslint": "^8.0.1", | ||
"babel-eslint": "^8.0.2", | ||
"babel-preset-es2015": "^6.24.1", | ||
"eslint": "^4.11.0", | ||
"eslint-config-pubsweet": "^0.0.5", | ||
"eslint": "^4.12.0", | ||
"eslint-config-pubsweet": "^0.0.6", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-jest": "^21.4.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.2", | ||
"eslint-plugin-node": "^5.2.1", | ||
"eslint-plugin-prettier": "^2.3.1", | ||
... | ... | @@ -20,7 +21,7 @@ |
"lint-staged": "^4.1.3", | ||
"prettier": "^1.8.2", | ||
"stylelint": "^8.2.0", | ||
"stylelint-config-standard": "^17.0.0" | ||
"stylelint-config-pubsweet": "^0.0.3" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -28,16 +29,16 @@ |
}, | ||
"scripts": { | ||
"clean": "lerna clean", | ||
"styleguide": "lerna run styleguide", | ||
"test": "lerna run test", | ||
"lint": "npm run lint:js && npm run lint:style", | ||
"lint:js": "eslint packages", | ||
"lint:style": "stylelint packages/**/*.scss packages/**/*.css", | ||
"precommit": "lint-staged" | ||
"precommit": "lint-staged", | ||
"styleguide": "lerna run styleguide", | ||
"test": "lerna run test" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint", | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.css": "stylelint", | ||
... | ... |
Please register or sign in to comment