Skip to content

Commit

Permalink
🔨 [ci release] Adjust some rules
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi committed Jan 3, 2024
1 parent a6a1b94 commit 105a377
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/bundled-eslint-config/src/setup/for-js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,6 @@ export const jsRules: Rules = {
'SwitchCase': 1
}
],
'@stylistic/plus/indent-binary-ops': [
'warn',
2
],
'@stylistic/js/key-spacing': [
'warn',
{
Expand Down Expand Up @@ -452,17 +448,21 @@ export const jsRules: Rules = {
{ blankLine: 'always', prev: '*', next: 'return' },
{ blankLine: 'always', prev: '*', next: 'function' },
{ blankLine: 'always', prev: '*', next: 'iife' },
{ blankLine: 'always', prev: '*', next: 'const' },
{ blankLine: 'always', prev: '*', next: 'class' },
{ blankLine: 'always', prev: '*', next: 'do' },
{ blankLine: 'always', prev: '*', next: 'for' },
{ blankLine: 'always', prev: '*', next: 'throw' },
{ blankLine: 'always', prev: '*', next: 'try' },
{ blankLine: 'always', prev: '*', next: 'while' },
{ blankLine: 'always', prev: '*', next: 'switch' },

{ blankLine: 'always', prev: '*', next: 'const' },
{ blankLine: 'any', prev: 'const', next: 'const' },
{ blankLine: 'any', prev: 'let', next: 'const' },
{ blankLine: 'always', prev: '*', next: 'let' },
{ blankLine: 'any', prev: 'let', next: 'let' },
{ blankLine: 'any', prev: 'const', next: 'let' },

{ blankLine: 'always', prev: '*', next: 'export' },
{ blankLine: 'any', prev: 'export', next: 'export' },
{ blankLine: 'always', prev: 'block-like', next: '*' },
Expand Down
2 changes: 1 addition & 1 deletion prepublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const packageJsonJobs = {
},
'packages/bundled-eslint-config': {
type: 'module',
version: '0.2.18',
version: '0.2.19',
description: 'A preset for ESLint',
keywords: [
'eslint',
Expand Down

0 comments on commit 105a377

Please sign in to comment.