626d013547
* switch from yarn to pnpm * Remove full-nym-wasm (#6796) * Remove nym-browser-extension (#6798) * Remove nym-browser-extension * remove unused from makefile * Remove Node tester (#6800) * Remove dom-utils (#6801) * gh-actions: remove pnpm version * nuke dist and pkg * add missing dependency * set node version to 24 and pnpm version to 11 * upgrade lock file from pnpm version 9 to 11 * pnpm add approved builds * yarn -> pnpm * upgrade jest version * yarn -> pnpm * Remove unused cfg; clippy! * pnpm: when dev mode is on, unfreeze the lock file * pnpm approve more scripts * pnpm syntax error * add `pnpm i` * disable eslint temporarily while switching to biome in later PR --------- Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com> Co-authored-by: mfahampshire <maxhampshire@pm.me>
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"name": "@nymproject/eslint-config-react-typescript",
|
|
"description": "Import the default eslint config for nym",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"main": "index.js",
|
|
"peerDependencies": {
|
|
"@typescript-eslint/eslint-plugin": ">= 5",
|
|
"@typescript-eslint/parser": ">= 5",
|
|
"eslint": ">= 8",
|
|
"eslint-config-airbnb": ">= 19",
|
|
"eslint-config-airbnb-typescript": ">= 16",
|
|
"eslint-config-prettier": ">= 8",
|
|
"eslint-import-resolver-root-import": ">= 1",
|
|
"eslint-plugin-import": ">= 2",
|
|
"eslint-plugin-jest": ">= 26.1.1",
|
|
"eslint-plugin-jsx-a11y": ">= 6",
|
|
"eslint-plugin-prettier": ">= 4",
|
|
"eslint-plugin-react": ">= 7",
|
|
"eslint-plugin-react-hooks": ">= 4",
|
|
"eslint-plugin-storybook": "*",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "catalog:",
|
|
"eslint-config-airbnb": "catalog:",
|
|
"eslint-config-prettier": "catalog:",
|
|
"eslint-import-resolver-root-import": "catalog:",
|
|
"eslint-plugin-import": "catalog:",
|
|
"eslint-plugin-jest": "catalog:",
|
|
"eslint-plugin-jsx-a11y": "catalog:",
|
|
"eslint-plugin-prettier": "catalog:",
|
|
"eslint-plugin-react": "catalog:",
|
|
"eslint-plugin-react-hooks": "catalog:",
|
|
"prettier": "catalog:"
|
|
},
|
|
"eslintConfig": {
|
|
"plugins": [
|
|
"prettier"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": "error"
|
|
},
|
|
"root": true,
|
|
"env": {
|
|
"browser": false,
|
|
"es6": false,
|
|
"node": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint *.js",
|
|
"lint:fix": "eslint *.js --fix"
|
|
}
|
|
}
|