mirror of
https://github.com/holidayapi/holidayapi-node.git
synced 2025-06-21 04:26:33 +00:00
* feat: pull country or language by code. This differs from the existing `search` functionality in that it allows you to explicitly pull back a single country or language instead of anything that matches (which could result in more items returned than expected). * refactor(types): add new types for the affected endpoints. * docs(readme): update to include examples for new functionality. * test: expand tests to include new parameters. * feat(package): upgrade dependencies to the latest versions. * fix(eslint): adjust configuration based on an updated dependency. * docs(license): bump the year of the license.
44 lines
841 B
JSON
44 lines
841 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"jest/globals": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:import/typescript"
|
|
],
|
|
"globals": {
|
|
"Atomics": "readonly",
|
|
"SharedArrayBuffer": "readonly"
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"jest"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": "error",
|
|
"import/extensions": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"ts": "never",
|
|
"tsx": "never"
|
|
}
|
|
],
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"devDependencies": ["**/*.test.ts"]
|
|
}
|
|
],
|
|
"import/prefer-default-export": "off",
|
|
"lines-between-class-members": "off",
|
|
"no-unused-vars": "off"
|
|
}
|
|
}
|