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.
- package/config/github-actions.js +15 -0
- package/index.js +2 -0
- package/package.json +1 -1
- package/rules/eslint-recommended.js +1 -0
|
@@ -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