@w5s/eslint-config 2.0.6 → 2.0.8

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
- <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=# W5s ESLint configuration _(${name})_) -->
2
- # W5s ESLint configuration _(@w5s/eslint-config)_
1
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=# W5S ESLint configuration _(${name})_) -->
2
+ # W5S ESLint configuration _(@w5s/eslint-config)_
3
3
  <!-- AUTO-GENERATED-CONTENT:END -->
4
4
 
5
5
  [![NPM Version][package-version-svg]][package-url]
@@ -65,6 +65,7 @@ const config = dev_1.ESLintConfig.concat(baseConfig,
65
65
  'no-use-before-define': ['error', 'nofunc'],
66
66
  // Allow statements, to be compatible with '@typescript-eslint/no-floating-promises' fix
67
67
  'no-void': ['error', { allowAsStatement: true }],
68
+ 'unicode-bom': ['error', 'never'],
68
69
  },
69
70
  });
70
71
  module.exports = config;
@@ -9,7 +9,6 @@ const config = dev_1.ESLintConfig.concat(recommended_js_1.default, {
9
9
  // extends: ['plugin:unicorn/recommended'],
10
10
  plugins: ['unicorn'],
11
11
  rules: {
12
- 'unicode-bom': ['error', 'never'],
13
12
  'unicorn/better-regex': 'error',
14
13
  'unicorn/catch-error-name': ['error', { name: 'error' }],
15
14
  'unicorn/custom-error-definition': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/eslint-config",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "ESLint configuration presets",
5
5
  "keywords": [
6
6
  "eslint",
@@ -35,8 +35,8 @@
35
35
  "@rushstack/eslint-patch": "^1.1.0",
36
36
  "@typescript-eslint/eslint-plugin": "^6.0.0",
37
37
  "@typescript-eslint/parser": "^6.0.0",
38
- "@w5s/dev": "^2.0.6",
39
- "@w5s/prettier-config": "^2.0.3",
38
+ "@w5s/dev": "^2.0.8",
39
+ "@w5s/prettier-config": "^2.0.5",
40
40
  "eslint-config-airbnb-base": "^15.0.0",
41
41
  "eslint-config-prettier": "^9.0.0",
42
42
  "eslint-plugin-import": "^2.25.0",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "eafe8f4243aff7708647c9fccd4b6b86a4af2d16"
72
+ "gitHead": "b5610ce3a5561b34c17806605ccb031305c471a3"
73
73
  }
@@ -75,6 +75,7 @@ const config: eslint.Linter.Config = ESLintConfig.concat(
75
75
  'no-use-before-define': ['error', 'nofunc'],
76
76
  // Allow statements, to be compatible with '@typescript-eslint/no-floating-promises' fix
77
77
  'no-void': ['error', { allowAsStatement: true }],
78
+ 'unicode-bom': ['error', 'never'],
78
79
  },
79
80
  }
80
81
  );
@@ -9,7 +9,6 @@ const config: eslint.Linter.Config = ESLintConfig.concat(
9
9
  // extends: ['plugin:unicorn/recommended'],
10
10
  plugins: ['unicorn'],
11
11
  rules: {
12
- 'unicode-bom': ['error', 'never'],
13
12
  'unicorn/better-regex': 'error',
14
13
  'unicorn/catch-error-name': ['error', { name: 'error' }],
15
14
  'unicorn/custom-error-definition': 'error',