Skip to content

Commit

Permalink
fix: Update plugin and rule names in configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerh2001 committed Feb 23, 2024
1 parent 4c81e02 commit 476b081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ const requireIndex = require('requireindex');
module.exports.rules = requireIndex(__dirname + '/rules');
module.exports.configs = {
recommended: {
plugins: ['eslint-th'],
plugins: ['eslint-rules-th'],
rules: {
'eslint-th/no-destructuring': 'error',
'eslint-th/no-unamed-default-export': 'error',
'eslint-rules-th/no-destructuring': 'error',
'eslint-rules-th/no-unamed-default-export': 'error',
},
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "eslint-th",
"name": "eslint-rules-th",
"version": "1.1.4",
"description": "A List of custom ESLint rules created by Tomer Horowitz",
"keywords": [
Expand Down

0 comments on commit 476b081

Please sign in to comment.