-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,42 @@ | ||
env: | ||
es6: true | ||
node: true | ||
extends: '@ridedott/eslint-config' | ||
extends: | ||
- '@ridedott/eslint-config' | ||
- 'plugin:jest-formatting/recommended' | ||
plugins: | ||
- 'jest-formatting' | ||
overrides: | ||
- env: | ||
jest: true | ||
files: | ||
- src/**/*.spec.ts | ||
- ./jest.config.ts | ||
- ./__mocks__/**/*.ts | ||
- ./src/**/*.spec.ts | ||
- ./test/**/*.ts | ||
rules: | ||
'@typescript-eslint/no-magic-numbers': off | ||
max-lines-per-function: off | ||
'@ridedott/no-single-line-comment-block': 'off' | ||
'@typescript-eslint/no-magic-numbers': 'off' | ||
'@typescript-eslint/no-unsafe-enum-comparison': 'off' | ||
'@typescript-eslint/class-methods-use-this': 'off' | ||
'@typescript-eslint/no-non-null-assertion': 'off' | ||
'import/no-extraneous-dependencies': 'off' | ||
'max-lines-per-function': 'off' | ||
'jest/max-expects': 'off' | ||
'unicorn/filename-case': 'off' | ||
'import/no-default-export': 'off' | ||
'jest/no-conditional-in-test': 'off' | ||
- files: | ||
- src/**/*.ts | ||
rules: | ||
'@typescript-eslint/no-magic-numbers': 'off' | ||
'@typescript-eslint/no-unsafe-enum-comparison': 'off' | ||
'@typescript-eslint/class-methods-use-this': 'off' | ||
'@typescript-eslint/no-non-null-assertion': 'off' | ||
'import/no-extraneous-dependencies': 'off' | ||
'jest/require-hook': off | ||
'eslint-comments/no-unused-disable': off | ||
parserOptions: | ||
ecmaVersion: 2020 | ||
project: tsconfig.json | ||
project: './tsconfig.json' | ||
sourceType: module | ||
rules: | ||
'@typescript-eslint/restrict-template-expressions': off |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18 | ||
v20 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
/* eslint-disable immutable/no-mutation */ | ||
/* eslint-disable unicorn/filename-case */ | ||
/* eslint-disable functional/immutable-data */ | ||
/* eslint-disable unicorn/prevent-abbreviations */ | ||
import * as envCi from 'env-ci'; | ||
import environmentCi from 'env-ci'; | ||
|
||
module.exports = ({ | ||
cwd, | ||
env, | ||
}: { | ||
cwd: string; | ||
env: string; | ||
env: { [key: string]: string }; | ||
}): { [key: string]: unknown } => { | ||
const { isCi, isPr, ...other } = envCi({ cwd, env }); | ||
const { isCi, ...other } = environmentCi({ cwd, env }); | ||
|
||
return { isCi: false, isPr: false, ...other }; | ||
}; |
This file was deleted.
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.