Skip to content

Commit

Permalink
Other smaller corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDalek committed Dec 1, 2023
1 parent 9f0ed4e commit c7d0df3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true
},
root: true,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
plugins: ['import', 'prettier'],
extends: [
'eslint:recommended',
'plugin:import/recommended',
'plugin:prettier/recommended'
],
plugins: ['import', 'prettier'],
rules: {
'no-unused-vars': 'off',
'import/no-cycle': 2,
'prettier/prettier': [
'error',
{
singleQuote: true,
trailingComma: 'none',
semi: true,
tabWidth: 2,
endOfLine: require('os').EOL === '\r\n' ? 'crlf' : 'lf'
}
]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules/
log/
tests/_temp
tmp/
dist/

.DS_Store
.cache
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
dist/*
README.md
7 changes: 4 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"trailingComma": "none",
"semi": true,
"singleQuote": true,
"arrowParens": "always",
"trailingComma": "none"
"tabWidth": 2,
"printWidth": 80
}

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ These are set as variables in your environment. They take precedence over option
- `HIGHCHARTS_POOL_QUEUE_SIZE`: The size of the request overflow queue.
- `HIGHCHARTS_POOL_TIMEOUT`: The number of milliseconds before timing out.
- `HIGHCHARTS_POOL_ACQUIRE_TIMEOUT`: The number of milliseconds to wait for acquiring a resource.
- `HIGHCHARTS_POOL_ENABLE_REAPER`: Whether or not to evict workers after a certain time period.
- `HIGHCHARTS_POOL_REAPER_ENABLE`: Whether or not to evict workers after a certain time period.
- `HIGHCHARTS_POOL_BENCHMARKING`: Enable benchmarking.
- `HIGHCHARTS_POOL_LISTEN_TO_PROCESS_EXITS`: Set to false in order to skip attaching process.exit handlers.

Expand Down
2 changes: 1 addition & 1 deletion lib/schemas/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export const defaultConfig = {
'The number of milliseconds to wait for acquiring a resource.'
},
reaper: {
envLink: 'HIGHCHARTS_POOL_ENABLE_REAPER',
envLink: 'HIGHCHARTS_POOL_REAPER_ENABLE',
value: true,
type: 'boolean',
description:
Expand Down

0 comments on commit c7d0df3

Please sign in to comment.