|
|
@@ -1,24 +1,11 @@
|
|
|
module.exports = {
|
|
|
- extends: ['airbnb-base', 'airbnb-typescript/base', 'prettier'],
|
|
|
- plugins: ['prettier'],
|
|
|
- overrides: [],
|
|
|
- parserOptions: {
|
|
|
- ecmaVersion: 'latest',
|
|
|
- sourceType: 'module',
|
|
|
- project: 'tsconfig.json',
|
|
|
- tsconfigRootDir: __dirname,
|
|
|
- },
|
|
|
+ extends: ['@solana/eslint-config-solana'],
|
|
|
rules: {
|
|
|
- '@typescript-eslint/no-use-before-define': 'off',
|
|
|
- '@typescript-eslint/no-unused-vars': 'off',
|
|
|
- 'class-methods-use-this': 'off',
|
|
|
- 'import/prefer-default-export': 'off',
|
|
|
- 'import/no-cycle': 'off',
|
|
|
- 'no-underscore-dangle': 'off',
|
|
|
- 'max-classes-per-file': 'off',
|
|
|
- 'no-param-reassign': 'off',
|
|
|
- 'func-names': 'off',
|
|
|
+ '@typescript-eslint/ban-types': 'off',
|
|
|
+ '@typescript-eslint/sort-type-constituents': 'off',
|
|
|
'prefer-destructuring': 'off',
|
|
|
+ 'simple-import-sort/imports': 'off',
|
|
|
+ 'sort-keys-fix/sort-keys-fix': 'off',
|
|
|
+ 'typescript-sort-keys/interface': 'off',
|
|
|
},
|
|
|
- ignorePatterns: ['dist/**', '.eslintrc.cjs', 'tsup.config.ts', 'env-shim.ts'],
|
|
|
};
|