Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 24 additions & 54 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"validate": "tsc --noEmit"
},
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
"@eslint/compat": "^2.0.2",
"@stylistic/eslint-plugin": "^5.9.0",
"@typescript-eslint/typescript-estree": "^8.56.1",
Expand All @@ -48,7 +48,7 @@
"eslint-plugin-newline-destructuring": "^1.2.2",
"eslint-plugin-self": "^1.2.1",
"eslint-plugin-testing-library": "^7.16.0",
"globals": "^17.4.0",
"globals": "^17.6.0",
"typescript-eslint": "^8.56.1"
},
"devDependencies": {
Expand All @@ -58,7 +58,7 @@
"@typescript-eslint/rule-tester": "^8.56.1",
"@typescript-eslint/types": "^8.56.1",
"eslint": "^10.0.2",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-jest-dom": "^5.5.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
Expand Down
1 change: 0 additions & 1 deletion src/rules/argument-spacing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const argumentSpacing = createRule({
missing: 'Missing new line.',
},
},
defaultOptions: [],
create: context => {
function check(node: TSESTree.NewExpression | TSESTree.CallExpression): void {
const {sourceCode} = context;
Expand Down
1 change: 0 additions & 1 deletion src/rules/complex-expression-spacing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const complexExpressionSpacing = createRule({
missing: 'Missing new line.',
},
},
defaultOptions: [],
create: context => {
const {sourceCode} = context;

Expand Down
1 change: 0 additions & 1 deletion src/rules/jsx-attribute-spacing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const jsxAttributeSpacing = createRule({
missing: 'Missing new line.',
},
},
defaultOptions: [],
create: context => {
const {sourceCode} = context;

Expand Down
6 changes: 0 additions & 6 deletions src/rules/min-chained-call-depth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ export const minChainedCallDepth = createRule({
unexpectedLineBreak: 'Unexpected line break.',
},
},
defaultOptions: [
{
maxLineLength: 100,
ignoreChainDeeperThan: 2,
},
],
create: context => {
const {sourceCode} = context;
let maxDepth = 0;
Expand Down
5 changes: 0 additions & 5 deletions src/rules/newline-per-chained-call/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ export const newlinePerChainedCall = createRule({
expectedLineBreak: 'Expected line break before `{{propertyName}}`.',
},
},
defaultOptions: [
{
ignoreChainDeeperThan: 2,
},
],
create: context => {
const options = context.options[0] ?? {};
const ignoreChainWithDepth = options.ignoreChainDeeperThan ?? 2;
Expand Down
1 change: 0 additions & 1 deletion src/rules/parameter-destructuring/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const parameterDestructuring = createRule({
),
},
},
defaultOptions: [],
create: context => {
const {sourceCode} = context;

Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"module": "node16",
"target": "ES2020",
"moduleResolution": "node16",
"isolatedModules": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
Expand Down
Loading