-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update eslint, prettier configs, apply them
- Loading branch information
Showing
81 changed files
with
6,367 additions
and
6,340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"root": true, | ||
"extends": ["@roborox/default", "prettier", "prettier/@typescript-eslint"] | ||
"extends": ["@rarible/eslint-config-ts", "prettier"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
.husky | ||
.vscode | ||
.yarn | ||
.idea | ||
build | ||
*.md | ||
*.d.ts |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@rarible/prettier"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,66 @@ | ||
{ | ||
"name": "root", | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"bootstrap": "lerna bootstrap && lerna link", | ||
"build": "sh build-all.sh", | ||
"build:atom": "yarn workspace @rixio/atom run build", | ||
"build:cache": "yarn workspace @rixio/cache run build", | ||
"build:form-store": "yarn workspace @rixio/form-store run build", | ||
"build:lens": "yarn workspace @rixio/lens run build", | ||
"build:list": "yarn workspace @rixio/list run build", | ||
"build:list-react": "yarn workspace @rixio/list-react run build", | ||
"build:react": "yarn workspace @rixio/react run build", | ||
"build:wrapped": "yarn workspace @rixio/wrapped run build", | ||
"clean": "yarn workspaces run clean", | ||
"link": "lerna link", | ||
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./", | ||
"prettify": "run-s prettify:*", | ||
"prettify:code": "prettier --write **/src/**/*", | ||
"prettify:packages": "lerna exec -- sort-package-json && sort-package-json", | ||
"release": "lerna publish from-package", | ||
"test": "yarn workspaces run test", | ||
"verify": "yarn workspaces run verify", | ||
"version": "lerna version" | ||
}, | ||
"lint-staged": { | ||
"**/src/package.json": [ | ||
"yarn run prettify:packages" | ||
], | ||
"package.json": [ | ||
"yarn run prettify:packages" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@roborox/eslint-config-default": "^2.2.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^12.1.5", | ||
"@types/jest": "^29.5.0", | ||
"@types/react": "^16.9.37", | ||
"@types/react-dom": "^16.9.8", | ||
"@types/react-virtualized": "9.21.10", | ||
"eslint": "^7.10.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"husky": "^8.0.3", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"joi": "^17.9.1", | ||
"lerna": "^6.6.1", | ||
"lint-staged": "^10.4.0", | ||
"prettier": "^2.1.2", | ||
"react": "^16.13.1", | ||
"react-dom": "16.13.1", | ||
"rxjs": "^6.6.7", | ||
"sort-package-json": "^1.50.0", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "^5.0.3" | ||
} | ||
"name": "root", | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"bootstrap": "lerna bootstrap && lerna link", | ||
"build": "sh build-all.sh", | ||
"build:atom": "yarn workspace @rixio/atom run build", | ||
"build:cache": "yarn workspace @rixio/cache run build", | ||
"build:form-store": "yarn workspace @rixio/form-store run build", | ||
"build:lens": "yarn workspace @rixio/lens run build", | ||
"build:list": "yarn workspace @rixio/list run build", | ||
"build:list-react": "yarn workspace @rixio/list-react run build", | ||
"build:react": "yarn workspace @rixio/react run build", | ||
"build:wrapped": "yarn workspace @rixio/wrapped run build", | ||
"clean": "yarn workspaces run clean", | ||
"link": "lerna link", | ||
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./", | ||
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx ./ --fix", | ||
"prepare": "husky install", | ||
"prettify": "run-s prettify:*", | ||
"prettify:code": "prettier --write **/src/**/*", | ||
"prettify:packages": "lerna exec -- sort-package-json && sort-package-json", | ||
"release": "lerna publish from-package", | ||
"test": "yarn workspaces run test", | ||
"verify": "yarn workspaces run verify", | ||
"version": "lerna version" | ||
}, | ||
"lint-staged": { | ||
"**/src/package.json": [ | ||
"yarn run prettify:packages" | ||
], | ||
"package.json": [ | ||
"yarn run prettify:packages" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@rarible/eslint-config-ts": "~0.10.0-alpha.10", | ||
"@rarible/prettier": "^0.10.0-alpha.10", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^12.1.5", | ||
"@types/jest": "^29.5.0", | ||
"@types/react": "^16.9.37", | ||
"@types/react-dom": "^16.9.8", | ||
"@types/react-virtualized": "9.21.10", | ||
"eslint": "^8.47.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^8.0.3", | ||
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"joi": "^17.9.1", | ||
"lerna": "^6.6.1", | ||
"lint-staged": "^10.4.0", | ||
"prettier": "^2.4.1", | ||
"react": "^16.13.1", | ||
"react-dom": "16.13.1", | ||
"rxjs": "^6.6.7", | ||
"sort-package-json": "^1.50.0", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "^5.0.3", | ||
"webpack": "~5.72.0" | ||
} | ||
} |
Oops, something went wrong.