@newsteam/eslint-config 0.0.124 → 0.0.125

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.
Files changed (2) hide show
  1. package/lib/cjs/rules.js +1 -2
  2. package/package.json +4 -4
package/lib/cjs/rules.js CHANGED
@@ -29,7 +29,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  */
30
30
  var confusing_browser_globals_1 = __importDefault(require("confusing-browser-globals"));
31
31
  var settings_1 = require("./settings");
32
- var isFixMode = process.argv.includes("--fix");
33
32
  module.exports = {
34
33
  env: {
35
34
  es6: true
@@ -125,7 +124,7 @@ module.exports = {
125
124
  * https://eslint.org/docs/rules/capitalized-comments
126
125
  */
127
126
  "capitalized-comments": [
128
- isFixMode ? "off" : "error",
127
+ "error",
129
128
  "always",
130
129
  {
131
130
  ignoreConsecutiveComments: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "0.0.124",
3
+ "version": "0.0.125",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "types": "./lib/cjs/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@types/modernizr": "3.5.3",
47
47
  "confusing-browser-globals": "1.0.11",
48
- "eslint-import-resolver-typescript": "2.7.1",
48
+ "eslint-import-resolver-typescript": "3.1.0",
49
49
  "eslint-plugin-import-newlines": "^1.2.2"
50
50
  },
51
51
  "devDependencies": {
@@ -71,7 +71,7 @@
71
71
  "eslint-plugin-optimize-regex": "1.2.1",
72
72
  "eslint-plugin-prefer-object-spread": "1.2.1",
73
73
  "eslint-plugin-promise": "6.0.0",
74
- "eslint-plugin-react": "7.30.0",
74
+ "eslint-plugin-react": "7.30.1",
75
75
  "eslint-plugin-react-hooks": "4.6.0",
76
76
  "eslint-plugin-react-native": "4.0.0",
77
77
  "eslint-plugin-react-perf": "3.3.1",
@@ -101,7 +101,7 @@
101
101
  "eslint-plugin-optimize-regex": "1.2.1",
102
102
  "eslint-plugin-prefer-object-spread": "1.2.1",
103
103
  "eslint-plugin-promise": "6.0.0",
104
- "eslint-plugin-react": "7.30.0",
104
+ "eslint-plugin-react": "7.30.1",
105
105
  "eslint-plugin-react-hooks": "4.6.0",
106
106
  "eslint-plugin-react-native": "4.0.0",
107
107
  "eslint-plugin-react-perf": "3.3.1",