Skip to content

Commit

Permalink
chore: fix lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jul 26, 2023
1 parent aa6fcb5 commit 38e6235
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
env:
FORCE_COLOR: 1
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -20,7 +22,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Upgrade npm
- name: Upgrade npm # for workspace support
run: npm i -g npm
- name: Install Dependencies
uses: bahmutov/npm-install@1a235c31658a322a3b024444759650ee6345c26d # tag=v1
Expand Down
3 changes: 2 additions & 1 deletion packages/perf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"run:secp256k1-newBN": "(cd trials/secp256k1-newBN && npm install && npm start)",
"run:bify-simple": "(cd trials/bify-simple && npm install && npm start)",
"run:pull-stream": "(cd trials/pull-stream && npm install && npm start)",
"run:terser": "(cd trials/terser && npm install && npm start)"
"run:terser": "(cd trials/terser && npm install && npm start)",
"lint": "exit 0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/preinstall-always-fail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test": "exit 0",
"preinstall": "echo \"Don't run npm lifecycle scripts by default! Create a .yarnrc or .npmrc and set enableScripts: false. Then, whitelist them with @lavamoat/allow-scripts\" && exit 1"
"preinstall": "echo \"Don't run npm lifecycle scripts by default! Create a .yarnrc or .npmrc and set enableScripts: false. Then, whitelist them with @lavamoat/allow-scripts\" && exit 1",
"lint": "exit 0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/survey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"start": "node src/index.js",
"postinstall": "node src/prepareHook.js",
"zzz": "node zzz.js",
"test": "exit 0"
"test": "exit 0",
"lint": "exit 0"
},
"devDependencies": {},
"engines": {
Expand Down
5 changes: 5 additions & 0 deletions packages/viz/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ module.exports = {
'import/unambiguous': 0,
'react/prop-types': 0
},
settings: {
react: {
version: 'detect'
}
}
}
3 changes: 2 additions & 1 deletion packages/yarn-plugin-allow-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"scripts": {
"build": "builder build plugin",
"rebuild": "npm run build"
"rebuild": "npm run build",
"lint": "exit 0"
},
"packageManager": "yarn@3.1.1",
"engines": {
Expand Down

0 comments on commit 38e6235

Please sign in to comment.