- Added configuration files: .eslintrc.js, .gitignore, .npmrc, .prettierrc, and multiple tsconfig files for different module systems. - Created package.json with dependencies and scripts for building, testing, and publishing. - Implemented core functionality in src/ directory, including wallet management, encryption, and storage handling. - Added README.md for documentation on installation, usage, and development setup. - Introduced initial types and constants for better type safety and code organization.
24 lines
513 B
JavaScript
24 lines
513 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
extends: [
|
|
'eslint:recommended',
|
|
],
|
|
plugins: ['@typescript-eslint'],
|
|
env: {
|
|
node: true,
|
|
es6: true,
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: 'module',
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': 'error',
|
|
'@typescript-eslint/explicit-function-return-type': 'warn',
|
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
'prefer-const': 'error',
|
|
'no-var': 'error',
|
|
'no-undef': 'off',
|
|
},
|
|
};
|