Browse Source
Official guidelines: https://eslint.org/docs/user-guide/getting-started Steps taken: npm install eslint --save-dev npx eslint --init Create .eslintignore Edit .eslintrc.js (tweaks)xmkb
innovaker
4 years ago
4 changed files with 1763 additions and 0 deletions
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
module.exports = { |
||||
env: { |
||||
browser: true, |
||||
commonjs: true, |
||||
es2021: true, |
||||
node: true, |
||||
}, |
||||
extends: ["eslint:recommended", "plugin:react/recommended"], |
||||
parserOptions: { |
||||
ecmaFeatures: { |
||||
jsx: true, |
||||
}, |
||||
ecmaVersion: 2021, |
||||
sourceType: "module", |
||||
}, |
||||
plugins: ["react"], |
||||
rules: {}, |
||||
settings: { |
||||
react: { |
||||
version: "detect", |
||||
}, |
||||
}, |
||||
}; |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue