mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-22 20:23:12 +03:00
Добавил eslint, prettier
This commit is contained in:
parent
21e2faced3
commit
bfccc5aac2
4 changed files with 1447 additions and 0 deletions
29
.eslintrc.js
Normal file
29
.eslintrc.js
Normal file
|
@ -0,0 +1,29 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
node: true,
|
||||
es6: true
|
||||
},
|
||||
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
|
||||
parserOptions: {
|
||||
'sourceType': 'commonjs',
|
||||
"ecmaVersion": 'latest'
|
||||
},
|
||||
rules: {
|
||||
indent: 'off',
|
||||
semi: ['error', 'always'],
|
||||
'arrow-body-style': ["error", "as-needed"],
|
||||
"prettier/prettier": [
|
||||
"error", {
|
||||
"singleQuote": true,
|
||||
"parser": "flow"
|
||||
}
|
||||
],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
'files': ['*/*.js'],
|
||||
},
|
||||
],
|
||||
'ignorePatterns': ['.eslintrc.js'],
|
||||
};
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
.idea
|
||||
CertSSL/
|
||||
charts/
|
||||
node_modules/
|
||||
|
||||
config.yaml
|
1390
package-lock.json
generated
Normal file
1390
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
27
package.json
Normal file
27
package.json
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"name": "kekkai",
|
||||
"version": "1.0.0",
|
||||
"description": "Historical data on the rate of fiat and crypto currencies",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Redume/Kekkai.git"
|
||||
},
|
||||
"author": "Redume",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"bugs": {
|
||||
"url": "https://github.com/Redume/Kekkai/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Redume/Kekkai#readme",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^8.57.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.2.1",
|
||||
"globals": "^15.9.0",
|
||||
"prettier": "3.3.3"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue