Skip to content

Commit

Permalink
Merge pull request #6 from alex-117/feature/add-no-shadow-rule
Browse files Browse the repository at this point in the history
Feature: disables no-shadow rule for ESLint & enables for TS
  • Loading branch information
darkmavis1980 authored Aug 3, 2023
2 parents 492fc49 + d63b95e commit 792781a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module.exports = {
rules: {
'import/extensions': 'off',
'no-console': ['error', { allow: ['warn', 'error'] }],
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error"
},
'parser': '@typescript-eslint/parser',
'plugins': [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hs-web-team/eslint-config-ts",
"version": "0.3.0",
"version": "0.4.0",
"description": "HubSpot Marketing WebTeam ESLint rules for Typescript",
"main": "index.js",
"engines": {
Expand Down

0 comments on commit 792781a

Please sign in to comment.