Skip to content

Commit

Permalink
fixup! create base and base-legacy configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Mar 17, 2022
1 parent cc2c04b commit 5f13cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-plugin/src/configs/base-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const path = require('path');

const { configHelpers } = require('..');
const { getNamingConventionRule } = require('../utils/configHelpers');

/** @type {import("eslint").Linter.Config} */
module.exports = {
Expand All @@ -12,7 +12,7 @@ module.exports = {
* `@typescript-eslint`plugin eslint rules
* @see https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin
*/
...configHelpers.getNamingConventionRule({ prefixInterface: true }),
...getNamingConventionRule({ prefixInterface: true }),
},
overrides: [],
};
4 changes: 2 additions & 2 deletions packages/eslint-plugin/src/configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const path = require('path');

const { configHelpers } = require('..');
const { getNamingConventionRule } = require('../utils/configHelpers');

/** @type {import("eslint").Linter.Config} */
module.exports = {
Expand All @@ -12,7 +12,7 @@ module.exports = {
* `@typescript-eslint`plugin eslint rules
* @see https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin
*/
...configHelpers.getNamingConventionRule(),
...getNamingConventionRule(),
},
overrides: [
{
Expand Down

0 comments on commit 5f13cfc

Please sign in to comment.