Delete .eslintrc.js

This commit is contained in:
Snider 2022-01-23 18:53:10 +00:00 committed by GitHub
parent 2834074a39
commit 2ef8b80902
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,31 +0,0 @@
module.exports = {
root: true, // if you want to prevent ESLint from searching for the configuration file all the way up to the root directory of the filesystem
env: {
browser: true, // for ESLint to be aware of browser global variables
node: true, // for ESLint to be aware of Node.js global variables and scoping
es6: true, // for ESLint to be aware of ES6 global variables (this automatically enables ES6 syntax)
},
parser: '@typescript-eslint/parser', // TypeScript (if not Vue)
parserOptions: {
parser: '@typescript-eslint/parser', // Vue + TypeScript
ecmaFeatures: {
jsx: true, // React, React Native
},
sourceType: 'module', // if you're using ECMAScript modules
},
extends: [
'eslint:recommended', // always (set of rules recommended by ESLint team)
'plugin:@typescript-eslint/recommended'
],
rules: {
"@typescript-eslint/no-explicit-any": ["error", { "fixToUnknown": false, "ignoreRestArgs": true }]
},
plugins: [
'@typescript-eslint', // TypeScript
],
settings: {
react: {
version: 'detect', // React
}
}
};