Update
This commit is contained in:
@ -26,10 +26,10 @@ index 883c03b7..0111d616 100644
|
||||
}
|
||||
diff --git a/.eslintrc b/.eslintrc
|
||||
deleted file mode 100644
|
||||
index 709a4744..00000000
|
||||
index 932055e8..00000000
|
||||
--- a/.eslintrc
|
||||
+++ /dev/null
|
||||
@@ -1,247 +0,0 @@
|
||||
@@ -1,248 +0,0 @@
|
||||
-{
|
||||
- "root": true,
|
||||
- "plugins": [
|
||||
@ -51,6 +51,7 @@ index 709a4744..00000000
|
||||
- "ecmaVersion": 2020,
|
||||
- },
|
||||
- "rules": {
|
||||
- "array-bracket-spacing": [2, "never"],
|
||||
- "arrow-body-style": [2, "as-needed"],
|
||||
- "arrow-parens": [2, "always"],
|
||||
- "arrow-spacing": [2, { "before": true, "after": true }],
|
||||
@ -607,3 +608,15 @@ index feafba90..9a464041 100644
|
||||
+ )
|
||||
+}
|
||||
\ No newline at end of file
|
||||
diff --git a/src/rules/imports-first.js b/src/rules/imports-first.js
|
||||
index 966367e9..3881d383 100644
|
||||
--- a/src/rules/imports-first.js
|
||||
+++ b/src/rules/imports-first.js
|
||||
@@ -1,6 +1,6 @@
|
||||
import docsUrl from '../docsUrl';
|
||||
|
||||
-const first = require('./first');
|
||||
+import first from './first';
|
||||
|
||||
const newMeta = {
|
||||
...first.meta,
|
||||
|
Reference in New Issue
Block a user