fix: min semver Node version (#874)
* fix semver node version * add package.json to editorconfig
This commit is contained in:
parent
2c005872ae
commit
91155d6be6
|
@ -14,3 +14,8 @@ trim_trailing_whitespace = false
|
|||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
|
||||
[package.json]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
insert_final_newline = false
|
||||
|
|
12
package.json
12
package.json
|
@ -17,7 +17,7 @@
|
|||
],
|
||||
"types": "./@types/index.d.ts",
|
||||
"engines": {
|
||||
"node": ">=10.17"
|
||||
"node": "^10.17 || >=12.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
|
@ -98,15 +98,7 @@
|
|||
"import/no-anonymous-default-export": 0,
|
||||
"unicorn/import-index": 0,
|
||||
"unicorn/no-reduce": 0,
|
||||
"capitalized-comments": 0,
|
||||
"node/no-unsupported-features/node-builtins": [
|
||||
"error",
|
||||
{
|
||||
"ignores": [
|
||||
"stream.Readable.from"
|
||||
]
|
||||
}
|
||||
]
|
||||
"capitalized-comments": 0
|
||||
},
|
||||
"ignores": [
|
||||
"dist",
|
||||
|
|
Loading…
Reference in New Issue