Skip to content

Commit

Permalink
create exeptions
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Jun 14, 2024
1 parent e946de2 commit e148f55
Show file tree
Hide file tree
Showing 2 changed files with 697 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const allowedSnakeCase = require('./allowedSnakeCase.cjs');

module.exports = {
ignorePatterns: ['build', '.eslintrc.cjs'],
extends: [
Expand Down Expand Up @@ -31,7 +33,13 @@ module.exports = {
'warn',
{ignore: ['children', 'className', 'location']},
],
camelcase: ['warn', {properties: 'always'}],
camelcase: [
'warn',
{
allow: allowedSnakeCase,
properties: 'always',
},
],
'no-case-declarations': 'off',
'no-unused-vars': [
'warn',
Expand Down
Loading

0 comments on commit e148f55

Please sign in to comment.