1- import oclif from 'eslint-config-oclif '
1+ import herokuEslintConfig from '@heroku-cli/test-utils/ eslint-config'
22
33export default [
4- ...oclif ,
4+ ...herokuEslintConfig ,
55 {
66 ignores : [
7+ './dist' ,
78 './lib' ,
89 '**/*.js' ,
9- 'workflows-repo/** ' ,
10+ '**/*.mjs ' ,
1011 ] ,
1112 } ,
1213 {
@@ -23,36 +24,15 @@ export default [
2324 } ,
2425 } ,
2526 rules : {
26- '@stylistic/function-paren-newline' : 'warn' ,
27- '@stylistic/indent' : 'warn' ,
28- '@stylistic/lines-between-class-members' : 'warn' ,
29- '@stylistic/object-curly-spacing' : 'warn' ,
30- '@typescript-eslint/no-explicit-any' : 'off' ,
31- camelcase : 'off' ,
32- 'import/namespace' : 'warn' ,
27+ 'camelcase' : 'off' ,
28+ 'jsdoc/require-returns-check' : 'off' ,
3329 'mocha/max-top-level-suites' : 'warn' ,
34- 'mocha/no-mocha-arrows' : 'warn' ,
3530 'n/no-deprecated-api' : 'warn' ,
36- 'n/shebang' : 'warn' ,
37- 'node/no-missing-import' : 'off' ,
38- 'perfectionist/sort-classes' : 'warn' ,
39- 'perfectionist/sort-imports' : 'warn' ,
40- 'perfectionist/sort-intersection-types' : 'warn' ,
41- 'perfectionist/sort-named-imports' : 'warn' ,
42- 'perfectionist/sort-objects' : 'warn' ,
43- 'prefer-arrow-callback' : 'warn' ,
44- 'unicorn/consistent-destructuring' : 'warn' ,
4531 'unicorn/consistent-function-scoping' : 'warn' ,
46- 'unicorn/import-style' : 'warn' ,
47- 'unicorn/no-array-for-each' : 'off' ,
32+ 'unicorn/no-array-for-each' : 'warn' ,
4833 'unicorn/no-array-push-push' : 'warn' ,
4934 'unicorn/no-static-only-class' : 'warn' ,
50- 'unicorn/no-useless-undefined' : 'warn' ,
51- 'unicorn/numeric-separators-style' : 'warn' ,
52- 'unicorn/prefer-node-protocol' : 'warn' ,
53- 'unicorn/prefer-number-properties' : 'warn' ,
54- 'unicorn/prefer-string-replace-all' : 'warn' ,
55- 'unicorn/prefer-top-level-await' : 'warn' ,
35+ 'unicorn/prefer-top-level-await' : 'warn'
5636 } ,
5737 } ,
5838]
0 commit comments