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
cc5beeba
Commit
cc5beeba
authored
Jun 22, 2021
by
Liam Horne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: set up eslint prettier correctly
parent
d3cd6e53
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
30 additions
and
3 deletions
+30
-3
.eslintrc.js
.eslintrc.js
+2
-3
package.json
integration-tests/package.json
+1
-0
package.json
packages/batch-submitter/package.json
+1
-0
package.json
packages/common-ts/package.json
+1
-0
package.json
packages/contracts/package.json
+1
-0
package.json
packages/core-utils/package.json
+1
-0
package.json
packages/data-transport-layer/package.json
+1
-0
package.json
packages/hardhat-ovm/package.json
+1
-0
package.json
packages/message-relayer/package.json
+1
-0
package.json
packages/smock/package.json
+1
-0
yarn.lock
yarn.lock
+19
-0
No files found.
.eslintrc.js
View file @
cc5beeba
...
...
@@ -3,10 +3,8 @@ module.exports = {
"
browser
"
:
true
,
"
es6
"
:
true
},
"
extends
"
:
[
"
prettier
"
,
],
"
ignorePatterns
"
:
[
"
dist/**/*.ts
"
,
"
packages/contracts/hardhat
"
],
"
extends
"
:
[
"
plugin:prettier/recommended
"
],
"
parser
"
:
"
@typescript-eslint/parser
"
,
"
parserOptions
"
:
{
"
project
"
:
"
tsconfig.json
"
,
...
...
@@ -21,6 +19,7 @@ module.exports = {
"
@typescript-eslint
"
,
],
"
rules
"
:
{
"
prettier/prettier
"
:
"
warn
"
,
"
@typescript-eslint/adjacent-overload-signatures
"
:
"
error
"
,
"
@typescript-eslint/array-type
"
:
"
off
"
,
"
@typescript-eslint/ban-types
"
:
"
off
"
,
...
...
integration-tests/package.json
View file @
cc5beeba
...
...
@@ -35,6 +35,7 @@
"docker-compose"
:
"^0.23.8"
,
"envalid"
:
"^7.1.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/batch-submitter/package.json
View file @
cc5beeba
...
...
@@ -62,6 +62,7 @@
"@typescript-eslint/parser"
:
"^4.26.0"
,
"chai"
:
"^4.2.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/common-ts/package.json
View file @
cc5beeba
...
...
@@ -29,6 +29,7 @@
"@typescript-eslint/parser"
:
"^4.26.0"
,
"chai"
:
"^4.3.4"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/contracts/package.json
View file @
cc5beeba
...
...
@@ -84,6 +84,7 @@
"directory-tree"
:
"^2.2.7"
,
"dotenv"
:
"^8.2.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/core-utils/package.json
View file @
cc5beeba
...
...
@@ -28,6 +28,7 @@
"@typescript-eslint/parser"
:
"^4.26.0"
,
"chai"
:
"^4.3.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/data-transport-layer/package.json
View file @
cc5beeba
...
...
@@ -59,6 +59,7 @@
"chai"
:
"^4.3.4"
,
"chai-as-promised"
:
"^7.1.1"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/hardhat-ovm/package.json
View file @
cc5beeba
...
...
@@ -29,6 +29,7 @@
"@typescript-eslint/eslint-plugin"
:
"^4.26.0"
,
"@typescript-eslint/parser"
:
"^4.26.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/message-relayer/package.json
View file @
cc5beeba
...
...
@@ -54,6 +54,7 @@
"@typescript-eslint/parser"
:
"^4.26.0"
,
"chai"
:
"^4.3.4"
,
"chai-as-promised"
:
"^7.1.1"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
packages/smock/package.json
View file @
cc5beeba
...
...
@@ -46,6 +46,7 @@
"@typescript-eslint/parser"
:
"^4.26.0"
,
"chai"
:
"^4.3.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-ban"
:
"^1.5.2"
,
"eslint-plugin-import"
:
"^2.23.4"
,
...
...
yarn.lock
View file @
cc5beeba
...
...
@@ -5996,6 +5996,13 @@ eslint-plugin-prefer-arrow@^1.2.3:
resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-arrow/-/eslint-plugin-prefer-arrow-1.2.3.tgz#e7fbb3fa4cd84ff1015b9c51ad86550e55041041"
integrity sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ==
eslint-plugin-prettier@^3.4.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.0.tgz#cdbad3bf1dbd2b177e9825737fe63b476a08f0c7"
integrity sha512-UDK6rJT6INSfcOo545jiaOwB701uAIt2/dR7WnFQoGCVl1/EMqdANBmwUaqqQ45aXprsTGzSa39LI1PyuRBxxw==
dependencies:
prettier-linter-helpers "^1.0.0"
eslint-plugin-react@^7.24.0:
version "7.24.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.24.0.tgz#eadedfa351a6f36b490aa17f4fa9b14e842b9eb4"
...
...
@@ -6945,6 +6952,11 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
fast-diff@^1.1.2:
version "1.2.0"
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
fast-glob@^3.0.3, fast-glob@^3.1.1:
version "3.2.5"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661"
...
...
@@ -11737,6 +11749,13 @@ prepend-http@^2.0.0:
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
prettier-linter-helpers@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
dependencies:
fast-diff "^1.1.2"
prettier@^1.14.2, prettier@^1.19.1:
version "1.19.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
...
...
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