sdkRules (strands-ts/eslint.config.js)

sdk-python · strands-ts/eslint.config.js · javascript · Apache-2.0
infra, Infra / DevOps

Exports ESLint configuration rules for SDK projects.

// Source: https://github.com/strands-agents/harness-sdk | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
import eslint from '@eslint/js'
import tseslint from '@typescript-eslint/eslint-plugin'
import tsparser from '@typescript-eslint/parser'
import tsdoc from 'eslint-plugin-tsdoc'

export default [
  eslint.configs.recommended,
  {
    rules: {
      // Disabled: TypeScript compiler catches all redeclaration cases and
      // understands value/type namespace merging (e.g., const + type with
      // same name). See https://typescript-eslint.io/rules/no-redeclare/
      'no-redeclare': 'off',
    },
  },
  // Apply SDK rules to src files
  sdkRules({
    files: ['src/**/*.ts'],
    tsconfig: './src/tsconfig.json',
  }),
  // Prevent non-vended-tools f

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key