generated from 2BAD/ts-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[misc] drop
all
and recommended
rule presets
- Loading branch information
Showing
8 changed files
with
4 additions
and
33,995 deletions.
There are no files selected for viewing
17,086 changes: 0 additions & 17,086 deletions
17,086
source/configs/__snapshots__/all.unit.test.ts.snap
This file was deleted.
Oops, something went wrong.
16,827 changes: 0 additions & 16,827 deletions
16,827
source/configs/__snapshots__/recommended.unit.test.ts.snap
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |