Skip to content

Commit

Permalink
fix: fix cjs plugin usage
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Nov 24, 2023
1 parent 12eb15f commit 1293490
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import eslintPlugin from 'eslint-plugin-eslint-plugin/configs/all'
import config from '@azat-io/eslint-config-typescript'
let eslintPlugin = require('eslint-plugin-eslint-plugin/configs/all')
let config = require('@azat-io/eslint-config-typescript')

export default [
module.exports = [
...config,
eslintPlugin,
{
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "eslint-plugin-perfectionist",
"description": "ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.",
"version": "2.4.1",
"type": "module",
"homepage": "https://eslint-plugin-perfectionist.azat.io",
"repository": "https://github.com/azat-io/eslint-plugin-perfectionist",
"author": "Azat S. <[email protected]>",
Expand Down Expand Up @@ -127,4 +126,4 @@
"vitest": "^0.34.6",
"vue": "^3.3.8"
}
}
}

0 comments on commit 1293490

Please sign in to comment.