@newsteam/eslint-config 0.0.83 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rules.js +3 -1
- package/lib/rules.mjs +4 -2
- package/package.json +1 -1
package/lib/rules.js
CHANGED
|
@@ -408,7 +408,9 @@ var _default = {
|
|
|
408
408
|
semi: "error",
|
|
409
409
|
"semi-spacing": "error",
|
|
410
410
|
"semi-style": ["error", "last"],
|
|
411
|
-
"sort-imports": "
|
|
411
|
+
"sort-imports": ["error", {
|
|
412
|
+
ignoreDeclarationSort: true
|
|
413
|
+
}],
|
|
412
414
|
"sort-keys": ["error", "asc", {
|
|
413
415
|
caseSensitive: false
|
|
414
416
|
}],
|
package/lib/rules.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import confusingBrowserGlobals from "confusing-browser-globals";
|
|
2
|
-
import {
|
|
2
|
+
import { indentSpaces, maximumCyclomaticComplexity, maximumFileLineCount, maximumLineLength, noMagicNumbersConfig } from "./settings";
|
|
3
3
|
export default {
|
|
4
4
|
env: {
|
|
5
5
|
es6: true
|
|
@@ -397,7 +397,9 @@ export default {
|
|
|
397
397
|
semi: "error",
|
|
398
398
|
"semi-spacing": "error",
|
|
399
399
|
"semi-style": ["error", "last"],
|
|
400
|
-
"sort-imports": "
|
|
400
|
+
"sort-imports": ["error", {
|
|
401
|
+
ignoreDeclarationSort: true
|
|
402
|
+
}],
|
|
401
403
|
"sort-keys": ["error", "asc", {
|
|
402
404
|
caseSensitive: false
|
|
403
405
|
}],
|