Skip to content

Commit

Permalink
Merge pull request #4 from MelvinVermeer/support-eslint-8
Browse files Browse the repository at this point in the history
Move meta object within the rule
  • Loading branch information
MelvinVermeer authored Jan 29, 2022
2 parents 177f1b2 + c581538 commit 3ae4a24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ function getAbsolutePath(relativePath, context) {
const message = "import statements should have an absolute path";

module.exports = {
meta: {
type: 'layout',
fixable: 'code',
},
rules: {
"no-relative-import-paths": {
meta: {
type: "layout",
fixable: "code",
},
create: function (context) {
const { allowSameFolder } = context.options[0] || {};

Expand Down

0 comments on commit 3ae4a24

Please sign in to comment.