Skip to content

Commit

Permalink
✨ Allow any naming in object literals
Browse files Browse the repository at this point in the history
  • Loading branch information
fyrstelin committed Apr 28, 2022
1 parent 7b111ad commit 4c613e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
'format': ['PascalCase']
},
{
'selector': 'objectLiteralProperty',
'selector': ['objectLiteralProperty', 'objectLiteralMethod'],
'format': null
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paralenz/eslint-config-typescript-react",
"version": "1.2.0",
"version": "1.2.1",
"description": "Paralenz eslint configuration for typescript and React",
"main": "index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { fold } from 'some-where'

fold({
Registered: () => true
})

0 comments on commit 4c613e8

Please sign in to comment.