eslint-plugin-pagecall-test
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "eslint-plugin-pagecall-test", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "./dist/index.js", | ||
"dependencies": { | ||
"@typescript-eslint/experimental-utils": "^4.31.2", | ||
"path": "^0.12.7", | ||
"requireindex": "^1.2.0" | ||
@@ -8,0 +9,0 @@ }, |
@@ -1,3 +0,3 @@ | ||
import { Model16 } from '@carbon/icons-react'; | ||
import { ESLintUtils } from '@typescript-eslint/experimental-utils'; | ||
import path from 'path'; | ||
@@ -18,3 +18,3 @@ const rule = ESLintUtils.RuleCreator(str => 'temp')({ | ||
create: context => { | ||
const fileName = context.getFilename(); | ||
const fileName = (context as any).getPhysicalFilename(); | ||
if (!fileName.includes('states/stores')) return {}; | ||
@@ -21,0 +21,0 @@ return { |
17601
3
+ Addedpath@^0.12.7
+ Addedinherits@2.0.3(transitive)
+ Addedpath@0.12.7(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedutil@0.10.4(transitive)