diff --git a/index.js b/index.js index e7efe04..3d6e677 100644 --- a/index.js +++ b/index.js @@ -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', diff --git a/package.json b/package.json index b55b6e2..7a7b981 100644 --- a/package.json +++ b/package.json @@ -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",