difftreelog
ci use same lint script as in development
in: master
7 files changed
.github/workflows/codestyle.ymldiffbeforeafterboth44 - name: Install modules44 - name: Install modules45 run: cd js-packages && yarn45 run: cd js-packages && yarn46 - name: Run ESLint46 - name: Run ESLint47 # run: cd js-packages && yarn eslint --ext .ts,.js --max-warnings=0 src/47 # run: cd js-packages && yarn lint --max-warnings=048 run: cd js-packages && yarn eslint --ext .ts,.js ./*/src48 run: cd js-packages && yarn lint494950 clippy:50 clippy:51 runs-on: [ self-hosted-ci ]51 runs-on: [ self-hosted-ci ]js-packages/.eslintignorediffbeforeafterbothno changes
js-packages/.eslintrc.jsondiffbeforeafterboth11 "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",js-packages/package.jsondiffbeforeafterboth42 ]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",js-packages/playgrounds/package.jsondiffbeforeafterboth1{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 },js-packages/tsconfig.jsondiffbeforeafterboth12 "strict": true,12 "strict": true,13 "resolveJsonModule": true,13 "resolveJsonModule": true,14 },14 },15 "include": [16 "./**/*.ts"17 ],15}18}1619scripts/init.shdiffbeforeafterbothno changes