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
10 changes: 3 additions & 7 deletions .ops/aws-setup/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@ import globals from 'globals'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import js from '@eslint/js'
import { FlatCompat } from '@eslint/eslintrc'
import prettierRecommended from 'eslint-plugin-prettier/recommended'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
})
const gitignorePath = path.resolve(__dirname, '.gitignore')

export default [
{
files: ['**/*.ts'],
},
...compat.extends('eslint:recommended', 'plugin:prettier/recommended', 'prettier'),
js.configs.recommended,
prettierRecommended,

includeIgnoreFile(gitignorePath),

Expand Down
1 change: 0 additions & 1 deletion .ops/aws-setup/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .ops/aws-setup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"devDependencies": {
"@babel/eslint-parser": "7.28.0",
"@eslint/compat": "1.3.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.32.0",
"@types/node": "22.16.3",
"eslint": "9.32.0",
Expand Down