Created
November 17, 2022 23:30
-
-
Save mikeerickson/d147fa5671a000f7c1d44ac1e1a9d76b to your computer and use it in GitHub Desktop.
soldcom eslint master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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