eslint-config-seek 0.0.0-fix-curly-braces-20231115033054 → 0.0.0-import-x-again-20250318050943

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
@@ -5,35 +5,31 @@
5
5
 
6
6
  This package includes the shareable ESLint configuration used by [SEEK](https://github.com/seek-oss/).
7
7
 
8
- ## Usage in sku Projects
8
+ ## Usage in sku and skuba Projects
9
9
 
10
- The easiest way to use this configuration is with [sku](https://github.com/seek-oss/sku), which includes it by default.
10
+ The easiest way to use this configuration is with [sku](https://github.com/seek-oss/sku) or [skuba](https://github.com/seek-oss/skuba).
11
11
 
12
- **You don’t need to install it separately in sku projects.**
12
+ **You don’t need to install it separately in sku and skuba projects.**
13
13
 
14
- ## Usage Outside of sku
14
+ ## Usage Outside of sku and skuba
15
15
 
16
- If you want to use this ESLint configuration in a project not built with sku, you can install it with following steps.
16
+ If you want to use this ESLint configuration in a project not built with sku or skuba, you can install it with following steps.
17
17
 
18
- First, install this package, ESLint and the necessary plugins listed in this project's [package.json](package.json).
18
+ First, install this package, and the necessary peer dependencies listed in this project's [package.json](package.json).
19
19
 
20
- Then create a file named `.eslintrc` with following contents in the root folder of your project:
20
+ Then create a file named `eslint.config.js` with the following contents in the root folder of your project:
21
21
 
22
- ```json
23
- {
24
- "extends": "seek"
25
- }
22
+ ```js
23
+ module.exports = require('eslint-config-seek');
26
24
  ```
27
25
 
28
26
  The default configuration includes support for React projects. For projects that are not based on React, the "base" configuration should be used instead:
29
27
 
30
- ```json
31
- {
32
- "extends": "seek/base"
33
- }
28
+ ```js
29
+ module.exports = require('eslint-config-seek/base');
34
30
  ```
35
31
 
36
- You can override the settings from `eslint-config-seek` by editing the `.eslintrc` file. Learn more about [configuring ESLint](http://eslint.org/docs/user-guide/configuring) on the ESLint website.
32
+ You can override the settings from `eslint-config-seek` by editing the `eslint.config.js` file. Learn more about [configuring ESLint](https://eslint.org/docs/latest/use/configure/) on the ESLint website.
37
33
 
38
34
  ## License
39
35
 
package/base.js CHANGED
@@ -1,12 +1,13 @@
1
- const path = require('path');
2
- const root = require('find-root')(process.cwd());
1
+ const importX = require('eslint-plugin-import-x');
2
+ const globals = require('globals');
3
+ const jestPlugin = require('eslint-plugin-jest');
4
+ const cypress = require('eslint-plugin-cypress/flat');
5
+ const eslintConfigPrettier = require('eslint-config-prettier');
6
+ const tseslint = require('typescript-eslint');
3
7
 
4
8
  const OFF = 0;
5
9
  const ERROR = 2;
6
10
 
7
- const rulesDirPlugin = require('eslint-plugin-rulesdir');
8
- rulesDirPlugin.RULES_DIR = path.join(__dirname, 'rules');
9
-
10
11
  const baseRules = {
11
12
  // Possible Errors
12
13
  'no-console': ERROR,
@@ -24,6 +25,7 @@ const baseRules = {
24
25
  'no-eval': ERROR,
25
26
  'no-extend-native': ERROR,
26
27
  'no-extra-bind': ERROR,
28
+ 'no-fallthrough': ERROR,
27
29
  'no-floating-decimal': ERROR,
28
30
  'no-implicit-coercion': ERROR,
29
31
  'no-implied-eval': ERROR,
@@ -82,154 +84,153 @@ const baseRules = {
82
84
  const { js: jsExtensions, ts: tsExtensions } = require('./extensions');
83
85
  const allExtensions = [...jsExtensions, ...tsExtensions];
84
86
 
85
- /** @type {import('eslint').Linter.Config} */
86
- const baseConfig = {
87
- parser: '@babel/eslint-parser',
88
- parserOptions: {
89
- requireConfigFile: false,
90
- sourceType: 'module',
91
- },
92
- root: true,
93
- env: {
87
+ const settings = {
88
+ 'import-x/resolver': {
89
+ typescript: true,
94
90
  node: true,
95
91
  },
96
- plugins: ['import'],
97
- extends: [
98
- // this config enables eslint-plugin-import to resolve JavaScript and TypeScript files
99
- // https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/config/typescript.js
100
- // Some rules provided by eslint-plugin-import e.g. `import/no-duplicates` don't work without it
101
- 'plugin:import/typescript',
102
- 'prettier',
103
- ],
104
- rules: {
105
- ...baseRules,
92
+ };
93
+
94
+ module.exports = [
95
+ {
96
+ plugins: {
97
+ 'import-x': importX,
98
+ jest: jestPlugin,
99
+ cypress,
100
+ '@typescript-eslint': tseslint.plugin,
101
+ },
106
102
  },
107
- overrides: [
108
- {
109
- // TypeScript config
110
- files: [`**/*.{${tsExtensions}}`],
111
- parser: '@typescript-eslint/parser',
103
+ importX.flatConfigs.typescript,
104
+ {
105
+ rules: importX.flatConfigs.errors.rules,
106
+ files: [`**/*.{${jsExtensions}}`],
107
+ },
108
+ {
109
+ rules: importX.flatConfigs.warnings.rules,
110
+ files: [`**/*.{${jsExtensions}}`],
111
+ },
112
+ {
113
+ languageOptions: {
114
+ globals: {
115
+ ...globals.node,
116
+ },
117
+
112
118
  parserOptions: {
113
- // https://github.com/typescript-eslint/typescript-eslint/issues/6544
114
- allowAutomaticSingleRunInference: true,
115
- ecmaVersion: 2022,
116
- project: true,
119
+ requireConfigFile: false,
120
+ ecmaVersion: 'latest',
117
121
  sourceType: 'module',
122
+ },
123
+ },
124
+ settings,
125
+ rules: baseRules,
126
+ },
127
+ eslintConfigPrettier,
128
+ ...[...tseslint.configs.recommended, ...tseslint.configs.stylistic].map(
129
+ ({ plugins, ...config }) => ({
130
+ ...config,
131
+ files: [`**/*.{${tsExtensions}}`],
132
+ }),
133
+ ),
134
+ {
135
+ files: [`**/*.{${tsExtensions}}`],
136
+
137
+ languageOptions: {
138
+ parser: tseslint.parser,
139
+
140
+ parserOptions: {
141
+ projectService: true,
118
142
  warnOnUnsupportedTypeScriptVersion: false,
119
143
  },
120
- extends: [
121
- 'plugin:@typescript-eslint/recommended',
122
- 'plugin:@typescript-eslint/stylistic',
123
- 'prettier',
144
+ },
145
+ settings,
146
+ rules: {
147
+ '@typescript-eslint/array-type': [ERROR, { default: 'array-simple' }],
148
+ '@typescript-eslint/consistent-type-definitions': OFF,
149
+ '@typescript-eslint/no-unused-expressions': ERROR,
150
+ '@typescript-eslint/no-unused-vars': [
151
+ ERROR,
152
+ { argsIgnorePattern: '^_', ignoreRestSiblings: true },
124
153
  ],
125
- settings: {
126
- // adds comprehensive TypeScript support to eslint-plugin-import
127
- // https://github.com/import-js/eslint-import-resolver-typescript
128
- 'import/resolver': {
129
- typescript: {},
130
- },
131
- },
132
- rules: {
133
- '@typescript-eslint/array-type': [ERROR, { default: 'array-simple' }],
134
- '@typescript-eslint/no-unused-expressions': ERROR,
135
- '@typescript-eslint/no-unused-vars': [
136
- ERROR,
137
- { argsIgnorePattern: '^_', ignoreRestSiblings: true },
138
- ],
139
- '@typescript-eslint/no-use-before-define': OFF,
140
- '@typescript-eslint/no-non-null-assertion': OFF,
141
- '@typescript-eslint/ban-ts-comment': OFF,
142
- '@typescript-eslint/no-explicit-any': OFF,
143
- '@typescript-eslint/explicit-function-return-type': OFF,
144
- '@typescript-eslint/no-empty-function': OFF,
145
- '@typescript-eslint/no-empty-interface': OFF,
146
- '@typescript-eslint/no-inferrable-types': [
147
- ERROR,
148
- { ignoreParameters: true },
149
- ],
150
- // prefer TypeScript exhaustiveness checking
151
- // https://www.typescriptlang.org/docs/handbook/advanced-types.html#exhaustiveness-checking
152
- 'default-case': OFF,
153
- 'arrow-body-style': [ERROR, 'as-needed'],
154
- // Use `typescript-eslint`'s no-shadow to avoid false positives with enums
155
- // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md
156
- 'no-shadow': OFF,
157
- '@typescript-eslint/no-shadow': ERROR,
154
+ '@typescript-eslint/no-use-before-define': OFF,
155
+ '@typescript-eslint/no-non-null-assertion': OFF,
156
+ '@typescript-eslint/ban-ts-comment': OFF,
157
+ '@typescript-eslint/no-explicit-any': OFF,
158
+ '@typescript-eslint/explicit-function-return-type': OFF,
159
+ '@typescript-eslint/no-empty-function': OFF,
160
+ '@typescript-eslint/no-empty-interface': OFF,
161
+ '@typescript-eslint/no-inferrable-types': [
162
+ ERROR,
163
+ { ignoreParameters: true },
164
+ ],
165
+ // prefer TypeScript exhaustiveness checking
166
+ // https://www.typescriptlang.org/docs/handbook/advanced-types.html#exhaustiveness-checking
167
+ 'default-case': OFF,
168
+ 'arrow-body-style': [ERROR, 'as-needed'],
169
+ // Use `typescript-eslint`'s no-shadow to avoid false positives with enums
170
+ // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md
171
+ 'no-shadow': OFF,
172
+ '@typescript-eslint/no-shadow': ERROR,
158
173
 
159
- // These two rules deal with autofixing type imports/exports
160
- // https://typescript-eslint.io/rules/consistent-type-imports
161
- '@typescript-eslint/consistent-type-imports': [
162
- ERROR,
163
- { fixStyle: 'inline-type-imports' },
164
- ],
165
- // https://typescript-eslint.io/rules/consistent-type-exports
166
- '@typescript-eslint/consistent-type-exports': [
167
- ERROR,
168
- { fixMixedExportsWithInlineTypeSpecifier: true },
169
- ],
170
- // https://typescript-eslint.io/rules/no-import-type-side-effects
171
- '@typescript-eslint/no-import-type-side-effects': ERROR,
174
+ // These two rules deal with autofixing type imports/exports
175
+ // https://typescript-eslint.io/rules/consistent-type-imports
176
+ '@typescript-eslint/consistent-type-imports': [
177
+ ERROR,
178
+ { fixStyle: 'inline-type-imports' },
179
+ ],
180
+ // https://typescript-eslint.io/rules/consistent-type-exports
181
+ '@typescript-eslint/consistent-type-exports': [
182
+ ERROR,
183
+ { fixMixedExportsWithInlineTypeSpecifier: true },
184
+ ],
185
+ // https://typescript-eslint.io/rules/no-import-type-side-effects
186
+ '@typescript-eslint/no-import-type-side-effects': ERROR,
172
187
 
173
- // This rule deals with merging multiple imports from the same module.
174
- // In this case, we want type imports to be inlined when merging with the other imports.
175
- // However, there is a pending PR which improves the behaviour of this rule https://github.com/import-js/eslint-plugin-import/pull/2716
176
- // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md#inline-type-imports
177
- 'import/no-duplicates': [ERROR, { 'prefer-inline': true }],
178
- },
188
+ // This rule deals with merging multiple imports from the same module.
189
+ // In this case, we want type imports to be inlined when merging with the other imports.
190
+ // However, there is a pending PR which improves the behaviour of this rule https://github.com/import-js/eslint-plugin-import/pull/2716
191
+ // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md#inline-type-imports
192
+ 'import-x/no-duplicates': [ERROR, { 'prefer-inline': true }],
193
+ 'import-x/export': ERROR,
179
194
  },
180
- {
181
- // JavaScript config
182
- files: [`**/*.{${jsExtensions}}`],
183
- env: {
184
- es6: true,
185
- },
186
- extends: ['plugin:import/errors', 'plugin:import/warnings'],
187
- settings: {
188
- 'import/resolver': {
189
- node: {
190
- moduleDirectory: [root, 'node_modules'],
191
- },
192
- },
193
- },
194
- rules: {
195
- 'no-undef': ERROR,
196
- 'no-use-before-define': [ERROR, { functions: false }],
197
- 'no-unused-expressions': ERROR,
198
- 'import/no-unresolved': [
199
- ERROR,
200
- { commonjs: true, amd: true, ignore: ['.svg$', '^file?'] },
201
- ],
202
- 'import/no-duplicates': ERROR,
203
- },
195
+ },
196
+ {
197
+ files: [`**/*.{${jsExtensions}}`],
198
+ languageOptions: {
199
+ globals: {},
204
200
  },
205
- {
206
- // Jest config
207
- files: [
208
- `**/__tests__/**/*.{${allExtensions}}`,
209
- `**/*.@(spec|test).{${allExtensions}}`,
201
+ settings,
202
+ rules: {
203
+ 'no-undef': ERROR,
204
+ 'no-use-before-define': [ERROR, { functions: false }],
205
+ 'no-unused-expressions': ERROR,
206
+ 'import-x/no-unresolved': [
207
+ ERROR,
208
+ { commonjs: true, amd: true, ignore: ['.svg$', '^file?'] },
210
209
  ],
211
- env: {
212
- jest: true,
213
- },
214
- extends: ['plugin:jest/recommended'],
215
- plugins: ['jest'],
210
+ 'import-x/no-duplicates': ERROR,
211
+ 'import-x/export': ERROR,
216
212
  },
217
- {
218
- // Cypress config
219
- files: [`**/cypress/**/*.{${allExtensions}}`],
220
- // eslint-plugin-cypress doesn't support ESLint v8.
221
- // Use fork by `@finsit` until this is solved.
222
- // https://github.com/cypress-io/eslint-plugin-cypress/issues/89
223
- extends: ['plugin:@finsit/cypress/recommended'],
224
- env: {
225
- '@finsit/cypress/globals': true,
226
- },
227
- plugins: ['@finsit/cypress', 'rulesdir'],
228
- rules: {
229
- 'rulesdir/unsafe-to-chain-command': ERROR,
213
+ },
214
+ {
215
+ ...jestPlugin.configs['flat/recommended'],
216
+ files: [
217
+ `**/__tests__/**/*.{${allExtensions}}`,
218
+ `**/*.@(spec|test).{${allExtensions}}`,
219
+ ],
220
+ },
221
+ {
222
+ files: [
223
+ `**/__tests__/**/*.{${allExtensions}}`,
224
+ `**/*.@(spec|test).{${allExtensions}}`,
225
+ ],
226
+ languageOptions: {
227
+ globals: {
228
+ ...globals.jest,
230
229
  },
231
230
  },
232
- ],
233
- };
234
-
235
- module.exports = baseConfig;
231
+ },
232
+ {
233
+ ...cypress.configs.recommended,
234
+ files: [`**/cypress/**/*.{${allExtensions}}`],
235
+ },
236
+ ];
package/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ const react = require('eslint-plugin-react');
2
+ const reactHooks = require('eslint-plugin-react-hooks');
3
+ const base = require('./base');
4
+
5
+ const globals = require('globals');
6
+
1
7
  const OFF = 0;
2
8
  const ERROR = 2;
3
9
 
@@ -16,46 +22,41 @@ const reactRules = {
16
22
  ],
17
23
  };
18
24
 
19
- /** @type {import('eslint').Linter.Config} */
20
- const eslintConfig = {
21
- env: {
22
- browser: true,
23
- },
24
- settings: {
25
- react: {
26
- version: 'detect',
25
+ module.exports = [
26
+ react.configs.flat.recommended,
27
+ react.configs.flat['jsx-runtime'],
28
+ ...base,
29
+ {
30
+ plugins: {
31
+ react,
32
+ 'react-hooks': reactHooks,
27
33
  },
28
- },
29
- plugins: ['react', 'react-hooks'],
30
- extends: [
31
- 'plugin:react/recommended',
32
- 'plugin:react/jsx-runtime',
33
- './base.js',
34
- ],
35
- parserOptions: {
36
- babelOptions: {
37
- presets: [require.resolve('@babel/preset-react')],
34
+
35
+ languageOptions: {
36
+ globals: globals.browser,
38
37
  },
39
- },
40
- rules: {
41
- ...reactRules,
42
- },
43
- overrides: [
44
- {
45
- // temporary override until everybody removes the React import
46
- files: [`**/*.tsx`],
47
- rules: {
48
- '@typescript-eslint/no-unused-vars': [
49
- ERROR,
50
- {
51
- argsIgnorePattern: '^_',
52
- ignoreRestSiblings: true,
53
- varsIgnorePattern: '^React$',
54
- },
55
- ],
38
+
39
+ settings: {
40
+ react: {
41
+ version: 'detect',
56
42
  },
57
43
  },
58
- ],
59
- };
60
44
 
61
- module.exports = eslintConfig;
45
+ rules: reactRules,
46
+ },
47
+ {
48
+ files: ['**/*.tsx'],
49
+
50
+ rules: {
51
+ // temporary override until everybody removes the React import
52
+ '@typescript-eslint/no-unused-vars': [
53
+ ERROR,
54
+ {
55
+ argsIgnorePattern: '^_',
56
+ ignoreRestSiblings: true,
57
+ varsIgnorePattern: '^React$',
58
+ },
59
+ ],
60
+ },
61
+ },
62
+ ];
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "eslint-config-seek",
3
- "version": "0.0.0-fix-curly-braces-20231115033054",
3
+ "version": "0.0.0-import-x-again-20250318050943",
4
4
  "description": "ESLint configuration used by SEEK",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "index.js",
8
8
  "base.js",
9
- "extensions.js",
10
- "rules/*"
9
+ "extensions.js"
11
10
  ],
12
11
  "repository": {
13
12
  "type": "git",
@@ -20,39 +19,36 @@
20
19
  },
21
20
  "homepage": "https://github.com/seek-oss/eslint-config-seek#readme",
22
21
  "dependencies": {
23
- "@babel/core": "^7.22.6",
24
- "@babel/eslint-parser": "^7.22.6",
25
- "@babel/preset-react": "^7.22.5",
26
- "@finsit/eslint-plugin-cypress": "^3.1.1",
27
- "@typescript-eslint/eslint-plugin": "^6.0.0",
28
- "@typescript-eslint/parser": "^6.0.0",
29
- "eslint-config-prettier": "^8.8.0",
30
- "eslint-import-resolver-typescript": "3.5.5",
31
- "eslint-plugin-import": "^2.27.5",
32
- "eslint-plugin-jest": "^27.2.3",
33
- "eslint-plugin-react": "^7.32.2",
34
- "eslint-plugin-react-hooks": "^4.6.0",
35
- "eslint-plugin-rulesdir": "^0.2.2",
36
- "find-root": "^1.1.0"
22
+ "typescript-eslint": "^8.6.0",
23
+ "eslint-config-prettier": "^10.0.0",
24
+ "eslint-import-resolver-typescript": "^3.6.3",
25
+ "eslint-plugin-cypress": "^4.0.0",
26
+ "eslint-plugin-import-x": "4.6.1",
27
+ "eslint-plugin-jest": "^28.8.0",
28
+ "eslint-plugin-react": "^7.35.0",
29
+ "eslint-plugin-react-hooks": "^5.0.0",
30
+ "globals": "^16.0.0"
37
31
  },
38
32
  "devDependencies": {
39
- "@changesets/cli": "^2.26.2",
40
- "@changesets/get-github-info": "^0.5.2",
41
- "eslint": "^8.44.0",
42
- "prettier": "^2.8.4",
43
- "typescript": "~5.1.6"
33
+ "@changesets/cli": "^2.27.7",
34
+ "@changesets/get-github-info": "^0.6.0",
35
+ "eslint": "^9.8.0",
36
+ "prettier": "^3.3.3",
37
+ "typescript": "~5.7.0"
44
38
  },
45
39
  "peerDependencies": {
46
- "eslint": ">=7",
47
- "typescript": ">=4.5"
40
+ "eslint": ">=9.9.1",
41
+ "typescript": ">=5.5.4"
42
+ },
43
+ "engines": {
44
+ "node": ">=18.18.0"
48
45
  },
49
- "packageManager": "pnpm@8.6.6",
50
46
  "volta": {
51
- "node": "18.12.1"
47
+ "node": "22.14.0"
52
48
  },
53
49
  "scripts": {
54
50
  "release": "changeset publish",
55
- "test": "eslint . && eslint --config base.js .",
51
+ "test": "eslint --config index.js . && eslint --config base.js .",
56
52
  "changeset-version": "changeset version && prettier --write ."
57
53
  }
58
54
  }
@@ -1,96 +0,0 @@
1
- /** This rule was copied from the original `eslint-plugin-cypress` so we can use the fork (which
2
- * supports eslint 8) while having the same recommended rules as the upstream
3
- * https://github.com/foretagsplatsen/eslint-plugin-cypress
4
- * https://github.com/cypress-io/eslint-plugin-cypress/blob/c626ad543f65babf1def5caabd1bc9bb9900d2c7/lib/rules/unsafe-to-chain-command.js
5
- */
6
- // eslint-disable-next-line strict
7
- 'use strict';
8
-
9
- /** @type {import("eslint").Rule.RuleModule} */
10
- module.exports = {
11
- meta: {
12
- type: 'problem',
13
- docs: {
14
- description: 'Actions should be at the end of chains, not in the middle',
15
- category: 'Possible Errors',
16
- recommended: true,
17
- url: 'https://docs.cypress.io/guides/core-concepts/retry-ability#Actions-should-be-at-the-end-of-chains-not-the-middle',
18
- },
19
- schema: [],
20
- fixable: 'code',
21
- messages: {
22
- unexpected:
23
- 'It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in the next command.',
24
- },
25
- },
26
- create(context) {
27
- return {
28
- CallExpression(node) {
29
- if (
30
- isRootCypress(node) &&
31
- isActionUnsafeToChain(node) &&
32
- node.parent.type === 'MemberExpression'
33
- ) {
34
- context.report({
35
- node,
36
- messageId: 'unexpected',
37
- });
38
- }
39
- },
40
- };
41
- },
42
- };
43
-
44
- /** @param {import("eslint").Rule.Node} node */
45
- function isRootCypress(node) {
46
- while (node.type === 'CallExpression') {
47
- if (node.callee.type !== 'MemberExpression') {
48
- return false;
49
- }
50
-
51
- if (
52
- node.callee.object.type === 'Identifier' &&
53
- node.callee.object.name === 'cy'
54
- ) {
55
- return true;
56
- }
57
-
58
- // eslint-disable-next-line no-param-reassign
59
- node = node.callee.object;
60
- }
61
-
62
- return false;
63
- }
64
-
65
- /** @param {import("eslint").Rule.Node} node */
66
- function isActionUnsafeToChain(node) {
67
- // commands listed in the documentation with text: 'It is unsafe to chain further commands that rely on the subject after xxx'
68
- const unsafeToChainActions = [
69
- 'blur',
70
- 'clear',
71
- 'click',
72
- 'check',
73
- 'dblclick',
74
- 'each',
75
- 'focus',
76
- 'rightclick',
77
- 'screenshot',
78
- 'scrollIntoView',
79
- 'scrollTo',
80
- 'select',
81
- 'selectFile',
82
- 'spread',
83
- 'submit',
84
- 'type',
85
- 'trigger',
86
- 'uncheck',
87
- 'within',
88
- ];
89
-
90
- return (
91
- node.callee &&
92
- node.callee.property &&
93
- node.callee.property.type === 'Identifier' &&
94
- unsafeToChainActions.includes(node.callee.property.name)
95
- );
96
- }