fix: min semver Node version (#874)

* fix semver node version

* add package.json to editorconfig
This commit is contained in:
Konstantin Vyatkin 2020-06-11 15:27:45 -04:00 committed by GitHub
parent 2c005872ae
commit 91155d6be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 137 additions and 140 deletions

View File

@ -14,3 +14,8 @@ trim_trailing_whitespace = false
[*.yml] [*.yml]
indent_style = space indent_style = space
[package.json]
indent_style = space
indent_size = 2
insert_final_newline = false

View File

@ -17,7 +17,7 @@
], ],
"types": "./@types/index.d.ts", "types": "./@types/index.d.ts",
"engines": { "engines": {
"node": ">=10.17" "node": "^10.17 || >=12.3"
}, },
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
@ -98,15 +98,7 @@
"import/no-anonymous-default-export": 0, "import/no-anonymous-default-export": 0,
"unicorn/import-index": 0, "unicorn/import-index": 0,
"unicorn/no-reduce": 0, "unicorn/no-reduce": 0,
"capitalized-comments": 0, "capitalized-comments": 0
"node/no-unsupported-features/node-builtins": [
"error",
{
"ignores": [
"stream.Readable.from"
]
}
]
}, },
"ignores": [ "ignores": [
"dist", "dist",