-
-
Notifications
You must be signed in to change notification settings - Fork 68
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 #59 from Adamant-im/dev
v6.1.0
- Loading branch information
Showing
25 changed files
with
4,458 additions
and
5,581 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,58 @@ | ||
const js = require('@eslint/js'); | ||
const google = require('eslint-config-google'); | ||
const globals = require('globals'); | ||
const babelParser = require('@babel/eslint-parser'); | ||
|
||
module.exports = [ | ||
js.configs.recommended, | ||
google, | ||
{ | ||
languageOptions: { | ||
ecmaVersion: 2021, | ||
sourceType: 'commonjs', | ||
globals: { | ||
...globals.node, | ||
}, | ||
parser: babelParser, | ||
parserOptions: { | ||
sourceType: 'script', | ||
ecmaVersion: 2021, | ||
}, | ||
}, | ||
rules: { | ||
quotes: [ | ||
'error', | ||
'single', | ||
{ | ||
allowTemplateLiterals: true, | ||
}, | ||
], | ||
'prefer-arrow-callback': ['error'], | ||
'object-shorthand': ['error', 'always'], | ||
'quote-props': ['error', 'as-needed'], | ||
'object-curly-spacing': ['error', 'always'], | ||
'max-len': ['error', | ||
{ code: 133, | ||
ignoreTrailingComments: true, | ||
ignoreComments: true, | ||
ignoreUrls: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
ignoreRegExpLiterals: true, | ||
}], | ||
'require-jsdoc': ['off'], | ||
'valid-jsdoc': ['off'], | ||
'no-array-constructor': ['off'], | ||
'no-caller': ['off'], | ||
'prefer-promise-reject-errors': ['off'], | ||
'guard-for-in': ['off'], | ||
'padded-blocks': ['off'], | ||
'new-cap': ['off'], | ||
camelcase: ['off'], | ||
eqeqeq: ['error', 'always'], | ||
}, | ||
}, | ||
{ | ||
ignores: ['trade/settings/', 'trade/tests/', 'trade/cs/test/', 'trade/cs/web_legacy/', '*.spec.js'], | ||
}, | ||
]; |
Oops, something went wrong.