Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support open-ended datetime intervals, fix camelcase violations #180

Merged
merged 9 commits into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"mocha": true
},
"rules": {
"no-restricted-syntax": ["off", "BinaryExpression[operator='of']"],
"object-curly-newline": 0,
"semi": [
2,
"never"
],
"quote-props": 0,
"camelcase": 0,
"func-names": 0,
"no-param-reassign": "off",
"no-prototype-builtins": "off",
Expand Down
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug AVA test file",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/ava",
"runtimeArgs": [
"${file}"
],
"outputCapture": "std",
"skipFiles": [
"<node_internals>/**/*.js"
]
}
]
}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed

- open-ended datetime intervals using either empty string or '..' now work

### Changed

- Upgrade to Node 14
Expand Down
4 changes: 2 additions & 2 deletions fixtures/collections.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const common = require('./common')

module.exports = () => ({
module.exports = {
mappings: {
dynamic_templates: common.dynamic_templates,
properties: {
Expand All @@ -11,4 +11,4 @@ module.exports = () => ({
'item_assets': { type: 'object', enabled: false }
}
}
})
}
1 change: 1 addition & 0 deletions fixtures/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const properties = {
}
}

// eslint-disable-next-line camelcase
const dynamic_templates = [
{
descriptions: {
Expand Down
4 changes: 2 additions & 2 deletions fixtures/items.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const common = require('./common')

module.exports = () => ({
module.exports = {
mappings: {
dynamic_templates: common.dynamic_templates,
properties: {
Expand All @@ -10,4 +10,4 @@ module.exports = () => ({
links: { type: 'object', enabled: false }
}
}
})
}
Loading