Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
35c846a5
Commit
35c846a5
authored
Jun 28, 2021
by
Liam Horne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: set up lint:fix to use eslint not prettier
parent
6fbdcd24
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
package.json
integration-tests/package.json
+1
-1
package.json
packages/batch-submitter/package.json
+1
-1
package.json
packages/common-ts/package.json
+3
-3
package.json
packages/core-utils/package.json
+2
-2
package.json
packages/data-transport-layer/package.json
+1
-1
package.json
packages/hardhat-ovm/package.json
+2
-2
package.json
packages/message-relayer/package.json
+1
-1
package.json
packages/smock/package.json
+1
-1
No files found.
integration-tests/package.json
View file @
35c846a5
...
...
@@ -7,7 +7,7 @@
"license"
:
"MIT"
,
"scripts"
:
{
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:fix"
:
"
prettier --config ./.prettierrc.js --write 'test/**/*.ts'
"
,
"lint:fix"
:
"
yarn lint:check --fix
"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"build:integration"
:
"./scripts/build.sh"
,
"build:contracts"
:
"hardhat compile"
,
...
...
packages/batch-submitter/package.json
View file @
35c846a5
...
...
@@ -14,7 +14,7 @@
"clean"
:
"rimraf cache/ dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"
prettier --config .prettierrc.js --write
\"
hardhat.config.ts
\"
\"
{src,exec,test}/**/*.ts
\"
"
,
"lint:fix"
:
"
yarn lint:check --fix
"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"test"
:
"hardhat test --show-stack-traces"
},
...
...
packages/common-ts/package.json
View file @
35c846a5
...
...
@@ -12,11 +12,11 @@
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"prettier --config .prettierrc.js --write '{src,test}/**/*.ts'"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
"test"
:
"ts-mocha test/*.spec.ts"
},
"devDependencies"
:
{
"@types/chai"
:
"^4.2.18"
,
...
...
packages/core-utils/package.json
View file @
35c846a5
...
...
@@ -14,9 +14,9 @@
"build"
:
"tsc -p tsconfig.build.json"
,
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"prettier --config .prettierrc.js --write '{src,test}/**/*.ts'"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"lint:fix"
:
"yarn lint:check --fix"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"ts-mocha test/**/*.spec.ts"
},
"devDependencies"
:
{
...
...
packages/data-transport-layer/package.json
View file @
35c846a5
...
...
@@ -13,7 +13,7 @@
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean:db"
:
"rimraf ./db"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"
prettier --config .prettierrc.js --write
\"
{src,exec,test}/**/*.ts
\"
"
,
"lint:fix"
:
"
yarn lint:check --fix
"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"start"
:
"ts-node ./src/services/run.ts"
,
"start:local"
:
"ts-node ./src/services/run.ts | pino-pretty"
,
...
...
packages/hardhat-ovm/package.json
View file @
35c846a5
...
...
@@ -12,9 +12,9 @@
"clean"
:
"rimraf tsconfig.build.tsbuildinfo dist"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"prettier --config .prettierrc.js --write
\"
{src,test}/**/*.ts
\"
"
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
},
"dependencies"
:
{
"node-fetch"
:
"^2.6.1"
...
...
packages/message-relayer/package.json
View file @
35c846a5
...
...
@@ -16,7 +16,7 @@
"clean"
:
"rimraf dist/ ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"
prettier --config .prettierrc.js --write
\"
{src,exec,test}/**/*.ts
\"
"
,
"lint:fix"
:
"
yarn lint:check --fix
"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"test"
:
"hardhat test --show-stack-traces"
},
...
...
packages/smock/package.json
View file @
35c846a5
...
...
@@ -13,7 +13,7 @@
"test"
:
"hardhat test --show-stack-traces"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"pre-commit"
:
"lint-staged"
,
"lint:fix"
:
"
prettier --config ./.prettierrc.js --write
\"
hardhat.config.ts
\"
\"
{src,test}/**/*.ts
\"
"
,
"lint:fix"
:
"
yarn lint:check --fix
"
,
"lint:check"
:
"eslint -c .eslintrc.js --ext .ts ."
,
"clean"
:
"rimraf ./artifacts ./cache ./dist ./tsconfig.build.tsbuildinfo"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment