File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1- module . exports = {
1+ // @ts -check
2+
3+ // eslint-disable-next-line jsdoc/valid-types -- https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
4+ /** @typedef {import('eslint').ESLint.ConfigData } ConfigData */
5+
6+ /**
7+ * @type {ConfigData }
8+ * @see https://eslint.org/docs/latest/use/configure/configuration-files
9+ */
10+ const config = {
211 extends : './index.js' ,
312 rules : {
413 'unicorn/prefer-module' : 'off'
514 }
615}
16+
17+ module . exports = config
Original file line number Diff line number Diff line change 1- module . exports = {
1+ // @ts -check
2+
3+ // eslint-disable-next-line jsdoc/valid-types -- https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
4+ /** @typedef {import('eslint').ESLint.ConfigData } ConfigData */
5+
6+ /**
7+ * @type {ConfigData }
8+ * @see https://eslint.org/docs/latest/use/configure/configuration-files
9+ */
10+ const config = {
211 extends : [
312 'standard-with-typescript' ,
413 'plugin:unicorn/recommended' ,
@@ -29,3 +38,5 @@ module.exports = {
2938 }
3039 ]
3140}
41+
42+ module . exports = config
You can’t perform that action at this time.
0 commit comments