eslint-config-simplesense 6.0.0 → 6.0.2

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.
@@ -0,0 +1,15 @@
1
+ export default [
2
+ {
3
+ name: 'simplesense/github-actions',
4
+ files: ['.github/**/*.js'],
5
+ rules: {
6
+ 'import/no-unresolved': [
7
+ 'error',
8
+ {
9
+ ignore: [String.raw `\/actions\/util\/`],
10
+ },
11
+ ],
12
+ 'n/no-missing-import': ['off'],
13
+ },
14
+ },
15
+ ];
package/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import eslintConfig from './config/eslint.js';
2
2
  import arrayFuncConfig from './config/array-func.js';
3
3
  import eslintCommentsConfig from './config/eslint-comments.js';
4
+ import githubActionsConfig from './config/github-actions.js';
4
5
  import globals from './config/globals.js';
5
6
  import importConfig from './config/import.js';
6
7
  import lambdaConfig from './config/lambda.js';
@@ -28,6 +29,7 @@ export default [
28
29
  unicornConfig,
29
30
  ...vueConfig, // exports an array
30
31
  ...yamlConfig, // exports an array
32
+ ...githubActionsConfig, // exports an array and should be last - rules are overrides
31
33
  ...lambdaConfig, // exports an array and should be last - rules are overrides
32
34
  {
33
35
  languageOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-simplesense",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "ESLint Config for Simplesense Styles",
5
5
  "keywords": [
6
6
  "eslint",
@@ -93,6 +93,7 @@ export default {
93
93
  'error',
94
94
  {
95
95
  args: 'none',
96
+ caughtErrors: 'none',
96
97
  },
97
98
  ],
98
99
  'no-use-before-define': ['error'],