Skip to content

Commit

Permalink
chore: update eslint devDep and semantic-release; resume using `:has(…
Browse files Browse the repository at this point in the history
…)` selector in tests given ESLint 7.20.0
  • Loading branch information
brettz9 committed Feb 13, 2021
1 parent 547a1c9 commit aefc1c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10709,7 +10709,7 @@ export class MyComponentComponent {
@Input()
public value = new EventEmitter();
}
// Options: [{"contexts":["ClassProperty > Decorator[expression.callee.name=\"Input\"]"]}]
// Options: [{"contexts":["ClassProperty:has(Decorator[expression.callee.name=\"Input\"])"]}]
// Message: Missing JSDoc comment.
````

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.3.0",
"cross-env": "^7.0.3",
"eslint": "7.19.0",
"eslint": "7.20.0",
"eslint-config-canonical": "^25.8.17",
"gitdown": "^3.1.3",
"glob": "^7.1.6",
Expand All @@ -38,7 +38,7 @@
"mocha": "^8.3.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.3.8",
"semantic-release": "^17.3.9",
"typescript": "^4.1.5"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion test/rules/assertions/requireJsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ function quux (foo) {
],
options: [{
contexts: [
'ClassProperty > Decorator[expression.callee.name="Input"]',
'ClassProperty:has(Decorator[expression.callee.name="Input"])',
],
}],
output: `
Expand Down

0 comments on commit aefc1c1

Please sign in to comment.