Skip to content

Commit

Permalink
Add @stylistic/curly-newline rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 14, 2024
1 parent 6a547b5 commit e1fe11c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ const rules = {
'default-case': 'error',
'default-case-last': 'error',
'dot-notation': 'error',
'@stylistic/curly-newline': [
'error',
'always',
],
'@stylistic/dot-location': [
'error',
'property',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
],
"dependencies": {
"@eslint/json": "^0.5.0",
"@stylistic/eslint-plugin": "^2.6.1",
"@stylistic/eslint-plugin": "^2.9.0",
"confusing-browser-globals": "1.0.11",
"globals": "^15.3.0"
"globals": "^15.11.0"
},
"devDependencies": {
"ava": "^6.1.3",
Expand Down

0 comments on commit e1fe11c

Please sign in to comment.