Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
42 lines
1.0 KiB
JavaScript
42 lines
1.0 KiB
JavaScript
module.exports = {
|
|
plugins: ['lodash', 'unused-imports'],
|
|
extends: ['eslint:recommended'],
|
|
ignorePatterns: ['dist', 'lib'],
|
|
env: {
|
|
node: true,
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['**/*.ts'],
|
|
plugins: ['@typescript-eslint'],
|
|
extends: ['plugin:@typescript-eslint/recommended'],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./tsconfig.json'],
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-extra-semi': 'off',
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'warn',
|
|
{
|
|
argsIgnorePattern: '^_',
|
|
varsIgnorePattern: '^_',
|
|
caughtErrorsIgnorePattern: '^_',
|
|
},
|
|
],
|
|
'unused-imports/no-unused-imports': 'warn',
|
|
'no-constant-condition': 'off',
|
|
},
|
|
},
|
|
],
|
|
rules: {
|
|
'linebreak-style': [
|
|
'error',
|
|
process.platform === 'win32' ? 'windows' : 'unix',
|
|
],
|
|
'lodash/import-scope': [2, 'member'],
|
|
},
|
|
}
|