Skip to content

Commit

Permalink
Add an error for usages of // @nocommit. Publish 1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Jul 21, 2023
1 parent 3396f90 commit e66310b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ module.exports = {
'no-unused-labels': 2,
'no-unused-vars': 0,
'no-var': 2,
'no-warning-comments': [2, { terms: ['@nocommit'] }],
'object-curly-spacing': 0,
'object-shorthand': 2,
'prefer-arrow-callback': [2, { allowNamedFunctions: true }],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nkzw/eslint-config",
"version": "1.0.1",
"version": "1.1.0",
"description": "ESLint config with sensible defaults.",
"author": "Christoph Nakazawa <[email protected]>",
"main": "index.js",
Expand Down

0 comments on commit e66310b

Please sign in to comment.