@lesnoypudge/eslint-base-config
Version:
lesnoypudge's eslint-base-config
29 lines (26 loc) • 1.45 kB
JavaScript
// // @ts-check
// import tseslint from 'typescript-eslint';
// export const tseslintStylistic = tseslint.config({
// rules: {
// '@typescript-eslint/adjacent-overload-signatures': 'warn',
// '@typescript-eslint/array-type': 'warn',
// '@typescript-eslint/ban-tslint-comment': 'warn',
// '@typescript-eslint/class-literal-property-style': 'warn',
// '@typescript-eslint/consistent-generic-constructors': 'warn',
// '@typescript-eslint/consistent-indexed-object-style': 'warn',
// '@typescript-eslint/consistent-type-assertions': 'warn',
// '@typescript-eslint/consistent-type-definitions': 'warn',
// '@typescript-eslint/dot-notation': 'warn',
// '@typescript-eslint/no-confusing-non-null-assertion': 'warn',
// '@typescript-eslint/no-empty-function': 'warn',
// '@typescript-eslint/no-empty-interface': 'warn',
// '@typescript-eslint/no-inferrable-types': 'warn',
// '@typescript-eslint/non-nullable-type-assertion-style': 'warn',
// '@typescript-eslint/prefer-for-of': 'warn',
// '@typescript-eslint/prefer-function-type': 'warn',
// '@typescript-eslint/prefer-namespace-keyword': 'warn',
// '@typescript-eslint/prefer-nullish-coalescing': 'warn',
// '@typescript-eslint/prefer-optional-chain': 'warn',
// '@typescript-eslint/prefer-string-starts-ends-with': 'warn',
// },
// });