-
- Downloads
(ci) configure Prettier
Showing
- .eslintrc.js 10 additions, 26 deletions.eslintrc.js
- .gitlab-ci.yml 9 additions, 8 deletions.gitlab-ci.yml
- .prettierrc 2 additions, 1 deletion.prettierrc
- README.md 61 additions, 6 deletionsREADME.md
- package.json 4 additions, 0 deletionspackage.json
- src/gatsby-plugin-theme-ui/index.js 27 additions, 34 deletionssrc/gatsby-plugin-theme-ui/index.js
... | @@ -5,7 +5,9 @@ | ... | @@ -5,7 +5,9 @@ |
"private": true, | "private": true, | ||
"author": "Eric Howey <eric@erichowey.dev>", | "author": "Eric Howey <eric@erichowey.dev>", | ||
"dependencies": { | "dependencies": { | ||
"eslint-plugin-prettier": "^3.1.4", | |||
"gatsby": "^2.21.21", | "gatsby": "^2.21.21", | ||
"gatsby-plugin-prettier-eslint": "^1.0.4", | |||
"gatsby-theme-catalyst-core": "^1.2.3", | "gatsby-theme-catalyst-core": "^1.2.3", | ||
"gatsby-theme-catalyst-footer": "^1.1.0", | "gatsby-theme-catalyst-footer": "^1.1.0", | ||
"gatsby-theme-catalyst-header-side": "^1.1.1", | "gatsby-theme-catalyst-header-side": "^1.1.1", | ||
... | @@ -15,6 +17,7 @@ | ... | @@ -15,6 +17,7 @@ |
"typeface-raleway": "0.0.75" | "typeface-raleway": "0.0.75" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"eslint-config-prettier": "^6.11.0", | |||
"prettier": "^2.0.5" | "prettier": "^2.0.5" | ||
}, | }, | ||
"keywords": [ | "keywords": [ | ||
... | @@ -26,6 +29,7 @@ | ... | @@ -26,6 +29,7 @@ |
"scripts": { | "scripts": { | ||
"build": "gatsby build", | "build": "gatsby build", | ||
"lint": "node_modules/.bin/eslint src/", | "lint": "node_modules/.bin/eslint src/", | ||
"fix": "npx eslint src/gatsby-plugin-theme-ui/index.js --fix", | |||
"develop": "gatsby develop", | "develop": "gatsby develop", | ||
"clean": "gatsby clean", | "clean": "gatsby clean", | ||
"format": "prettier --write src/**/*.{js,jsx}", | "format": "prettier --write src/**/*.{js,jsx}", | ||
... | ... |
Please register or sign in to comment