Skip to content

Commit

Permalink
[misc] drop all and recommended rule presets
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed Sep 14, 2024
1 parent df39e64 commit 7183109
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 33,995 deletions.
17,086 changes: 0 additions & 17,086 deletions source/configs/__snapshots__/all.unit.test.ts.snap

This file was deleted.

16,827 changes: 0 additions & 16,827 deletions source/configs/__snapshots__/recommended.unit.test.ts.snap

This file was deleted.

15 changes: 0 additions & 15 deletions source/configs/all.ts

This file was deleted.

22 changes: 0 additions & 22 deletions source/configs/all.unit.test.ts

This file was deleted.

14 changes: 0 additions & 14 deletions source/configs/recommended.ts

This file was deleted.

22 changes: 0 additions & 22 deletions source/configs/recommended.unit.test.ts

This file was deleted.

9 changes: 4 additions & 5 deletions source/configs/strict.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import js from '@eslint/js'
import type { Linter } from 'eslint'
import ts from 'typescript-eslint'
import { configs } from 'typescript-eslint'

const recommended: Linter.Config[] = [
const strict: Linter.Config[] = [
{
name: 'axiom/rules/strict',
rules: js.configs.recommended.rules
},
// eslint-disable-next-line import-x/no-named-as-default-member
...(ts.configs.strict as Linter.Config[])
...(configs.strict as Linter.Config[])
]

export default recommended
export default strict
4 changes: 0 additions & 4 deletions source/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import type { ESLint } from 'eslint'
import all from './configs/all.ts'
import recommended from './configs/recommended.ts'
import strict from './configs/strict.ts'
import stylistic from './configs/stylistic.ts'

export { axiom } from './axiom.ts'

export const configs = {
all,
recommended,
strict,
stylistic
} satisfies ESLint.Plugin['configs']

0 comments on commit 7183109

Please sign in to comment.