git.delta.rocks / unique-network / refs/commits / 086739e0956b

difftreelog

ci use same lint script as in development

Yaroslav Bolyukin2023-11-14parent: #acb1833.patch.diff
in: master

7 files changed

modified.github/workflows/codestyle.ymldiffbeforeafterboth
44 - name: Install modules44 - name: Install modules
45 run: cd js-packages && yarn45 run: cd js-packages && yarn
46 - name: Run ESLint46 - name: Run ESLint
47 # run: cd js-packages && yarn eslint --ext .ts,.js --max-warnings=0 src/47 # run: cd js-packages && yarn lint --max-warnings=0
48 run: cd js-packages && yarn eslint --ext .ts,.js ./*/src48 run: cd js-packages && yarn lint
4949
50 clippy:50 clippy:
51 runs-on: [ self-hosted-ci ]51 runs-on: [ self-hosted-ci ]
addedjs-packages/.eslintignorediffbeforeafterboth

no changes

modifiedjs-packages/.eslintrc.jsondiffbeforeafterboth
11 "parserOptions": {11 "parserOptions": {
12 "ecmaVersion": 11,12 "ecmaVersion": 11,
13 "sourceType": "module",13 "sourceType": "module",
14 "project": "**/tsconfig.json"14 "project": "./tsconfig.json"
15 },15 },
16 "plugins": [16 "plugins": [
17 "@typescript-eslint",17 "@typescript-eslint",
modifiedjs-packages/package.jsondiffbeforeafterboth
42 ]42 ]
43 },43 },
44 "scripts": {44 "scripts": {
45 "prepublish": "yarn tsc",
45 "lint": "eslint --ext .ts .",46 "lint": "eslint --ext .ts .",
46 "fix": "yarn lint --fix",47 "fix": "yarn lint --fix",
47 "polkadot-types-fetch-metadata": "yarn ts-node --esm scripts/fetchMetadata.ts",48 "polkadot-types-fetch-metadata": "yarn ts-node --esm scripts/fetchMetadata.ts",
modifiedjs-packages/playgrounds/package.jsondiffbeforeafterboth
1{1{
2 "author": "",2 "author": "",
3 "license": "SEE LICENSE IN ../../../LICENSE",3 "license": "SEE LICENSE IN ../../../LICENSE",
4 "description": "Interfaces for interacting with contracts and contract ABIs",4 "description": "Playground scripts",
5 "engines": {5 "engines": {
6 "node": ">=16"6 "node": ">=16"
7 },7 },
modifiedjs-packages/tsconfig.jsondiffbeforeafterboth
12 "strict": true,12 "strict": true,
13 "resolveJsonModule": true,13 "resolveJsonModule": true,
14 },14 },
15 "include": [
16 "./**/*.ts"
17 ],
15}18}
1619
deletedscripts/init.shdiffbeforeafterboth

no changes