Skip to content

Commit

Permalink
add max len exception rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianzchen committed Apr 20, 2022
1 parent ddef8f4 commit 9c33c40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ module.exports = {
'jsx-a11y/no-static-element-interactions': 0,
'jsx-a11y/click-events-have-key-events': 0,
'jsx-a11y/no-noninteractive-element-interactions': 0,
'max-len': ['error', 100, 2, {
ignoreUrls: true,
ignoreComments: true,
ignoreRegExpLiterals: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignorePattern: '^.*React\\$AbstractComponent.*',
}],
'no-console': ['warn', { allow: ['warn', 'error', 'info'] }],
'no-continue': 0,
'no-underscore-dangle': 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-bzc",
"description": "Eslint Config for my personal and professional projects",
"version": "1.0.9",
"version": "1.0.10",
"main": "index.js",
"repository": "[email protected]:Brianzchen/eslint-config-bzc.git",
"author": "Brian Chen",
Expand Down

0 comments on commit 9c33c40

Please sign in to comment.