Skip to content

Commit

Permalink
update: return prettier configuration and update @exabyte-io/eslint-c…
Browse files Browse the repository at this point in the history
…onfig
  • Loading branch information
unsigned6 committed Nov 17, 2022
1 parent 2c4550a commit 8fd52c5
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": false,
"printWidth": 100,
"trailingComma": "all",
"tabWidth": 4
}

36 changes: 33 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"description": "Application DEfinitions",
"scripts": {
"test": "nyc --reporter=text mocha --recursive --bail --require @babel/register/lib --require tests/setup.js tests",
"lint": "eslint src tests",
"lint:fix": "eslint --fix --cache src tests",
"lint": "eslint src tests && prettier --write src tests",
"lint:fix": "eslint --fix --cache src tests && prettier --write src tests",
"transpile": "babel --out-dir dist src",
"postinstall": "npm run transpile",
"prettier": "prettier --check src tests",
"prepare": "husky install"
},
"repository": {
Expand Down Expand Up @@ -45,14 +46,16 @@
},
"devDependencies": {
"@exabyte-io/code.js": "2022.11.11-0",
"@exabyte-io/eslint-config": "^2022.11.16-0",
"@exabyte-io/eslint-config": "^2022.11.17-0",
"@exabyte-io/made.js": "2022.6.15-0",
"chai": "^4.3.4",
"eslint": "7.32.0",
"eslint-config-airbnb": "19.0.2",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsdoc": "37.1.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"husky": "^7.0.4",
Expand All @@ -69,6 +72,7 @@
"node": ">=12.0.0"
},
"lint-staged": {
"*.js": "eslint --cache --fix"
"*.js": "eslint --cache --fix",
"*.{js,css}": "prettier --write"
}
}

0 comments on commit 8fd52c5

Please sign in to comment.