This commit is contained in:
Tommy Verrall
2026-04-27 13:38:28 +02:00
parent 1aee1a949d
commit 7a1c9d1ba6
5 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
eslint-smoke:
runs-on: arc-linux-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
@@ -37,7 +37,7 @@ jobs:
env:
RUSTUP_PERMIT_COPY_RENAME: 1
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
- uses: rlespinasse/github-slug-action@v3.x
- uses: actions/setup-node@v4
+1 -1
View File
@@ -1 +1 @@
20.19.0
20.19.5
@@ -7,6 +7,8 @@ module.exports = [
typedGlobs: ['**/*.ts', '**/*.tsx'],
}),
{
// .storybook excluded: those .js files use JSX/optional-chaining without a matching parser.
// Follow-up: add a Storybook-scoped ESLint slice (parser + plugin:storybook/recommended).
ignores: ['tsconfig.json', '**/*.d.ts', '.storybook/**', 'dist/**', 'node_modules/**', '*.config.js'],
},
];
@@ -23,7 +23,6 @@ module.exports = [
},
ecmaVersion: 2019,
sourceType: 'module',
project: './tsconfig.json',
},
globals: {
Atomics: 'readonly',
@@ -40,7 +39,7 @@ module.exports = [
],
rules: {
'jest/prefer-strict-equal': 'error',
'jest/prefer-to-have-length': 'warn',
'jest/prefer-to-have-length': 'error',
'prettier/prettier': 'error',
'import/prefer-default-export': 'off',
'react/prop-types': 'off',
@@ -4,6 +4,10 @@
"version": "1.0.0",
"license": "Apache-2.0",
"main": "index.js",
"exports": {
".": "./index.js",
"./airbnb-typescript-base-flat": "./airbnb-typescript-base-flat.js"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">= 8",
"@typescript-eslint/parser": ">= 8",