-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #916 from near/main
Prod Release 24/07/2024
- Loading branch information
Showing
50 changed files
with
9,307 additions
and
1,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
env: { | ||
es2021: true, | ||
node: true | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['.eslintrc.js', 'jest.config.js'], | ||
parser: 'espree', | ||
extends: ['standard'], | ||
rules: { | ||
semi: ['error', 'always'], | ||
quotes: ['error', 'single'], | ||
'array-callback-return': ['error', { allowImplicit: false }] | ||
} | ||
}, | ||
{ | ||
files: ['**/*.ts'], | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
tsconfigRootDir: __dirname | ||
}, | ||
extends: [ | ||
'standard-with-typescript' | ||
], | ||
rules: { | ||
'@typescript-eslint/semi': ['error', 'always'], | ||
'@typescript-eslint/comma-dangle': ['error', 'only-multiline'], | ||
'@typescript-eslint/strict-boolean-expressions': 'off', | ||
'array-callback-return': ['error', { allowImplicit: false }] | ||
} | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testMatch: ['**/*.test.ts'], | ||
testTimeout: 10000 | ||
}; |
Oops, something went wrong.