Delete .eslintrc.js
This commit is contained in:
parent
2834074a39
commit
2ef8b80902
1 changed files with 0 additions and 31 deletions
31
.eslintrc.js
31
.eslintrc.js
|
|
@ -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
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue