@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 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": "off",
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 { maximumCyclomaticComplexity, noMagicNumbersConfig, indentSpaces, maximumFileLineCount, maximumLineLength } from "./settings";
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": "off",
400
+ "sort-imports": ["error", {
401
+ ignoreDeclarationSort: true
402
+ }],
401
403
  "sort-keys": ["error", "asc", {
402
404
  caseSensitive: false
403
405
  }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "lib",
6
6
  "types": "lib",