Skip to content

Instantly share code, notes, and snippets.

@mikeerickson
Created November 17, 2022 23:30
Show Gist options
  • Save mikeerickson/d147fa5671a000f7c1d44ac1e1a9d76b to your computer and use it in GitHub Desktop.
Save mikeerickson/d147fa5671a000f7c1d44ac1e1a9d76b to your computer and use it in GitHub Desktop.
soldcom eslint master
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
},
plugins: ['@typescript-eslint'],
root: true,
rules: {
'no-unused-vars': 'off',
'no-undef': 'off',
'prefer-const': 'off',
'no-prototype-builtins': 'off',
'no-regex-spaces': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'off',
'@typescript-eslint/prefer-optional-chain': 'warn',
'no-unsafe-optional-chaining': 'warn',
'no-eq-null': 'warn',
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment