Skip to content

Commit

Permalink
create exeptions
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng authored and bjoernricks committed Jun 14, 2024
1 parent 9ddb2d6 commit 12f9e5c
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 12f9e5c

Please sign in to comment.