mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(code) rule to enforce component named like filename
This commit is contained in:
parent
925e109175
commit
28f873c871
@ -51,7 +51,8 @@
|
||||
"rules": {
|
||||
"import/no-default-export": "error",
|
||||
"import/no-unused-modules": ["error", { "missingExports": true }],
|
||||
"fabmanager/component-class-named-as-component": ["error", { "ignoreAbstractKeyword": true }]
|
||||
"fabmanager/component-class-named-as-component": ["error", { "ignoreAbstractKeyword": true }],
|
||||
"fabmanager/component-named-like-file": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -10,7 +10,7 @@ import { Group } from '../../../models/group';
|
||||
import { IApplication } from '../../../models/application';
|
||||
import { Space } from '../../../models/space';
|
||||
import { EditablePrice } from '../editable-price';
|
||||
import { ConfigureExtendedPricesButton } from './configure-extended-price-button';
|
||||
import { ConfigureExtendedPricesButton } from './configure-extended-prices-button';
|
||||
import PriceAPI from '../../../api/price';
|
||||
import { Price } from '../../../models/price';
|
||||
import { useImmer } from 'use-immer';
|
||||
|
@ -25,7 +25,7 @@
|
||||
"@typescript-eslint/parser": "^5.17.0",
|
||||
"eslint": "~8.12.0",
|
||||
"eslint-config-standard": "~17.0.0-1",
|
||||
"eslint-plugin-fabmanager": "^0.0.23",
|
||||
"eslint-plugin-fabmanager": "^0.1.2",
|
||||
"eslint-plugin-html-erb": "^1.0.1",
|
||||
"eslint-plugin-import": "~2.25.4",
|
||||
"eslint-plugin-n": "^15.1.0",
|
||||
|
@ -4082,10 +4082,10 @@ eslint-plugin-es@^4.1.0:
|
||||
eslint-utils "^2.0.0"
|
||||
regexpp "^3.0.0"
|
||||
|
||||
eslint-plugin-fabmanager@^0.0.23:
|
||||
version "0.0.23"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-fabmanager/-/eslint-plugin-fabmanager-0.0.23.tgz#7475999e23f9f658186c172c40a73e15587930e4"
|
||||
integrity sha512-yXxJWPvUyhszBp/jL+aW4I9Qm43kkGH140Pm1EfEBnFkGaC63/U4UX+XSA2ibSocvw2Gqi8igEACEIf6/H4GYw==
|
||||
eslint-plugin-fabmanager@^0.1.2:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-fabmanager/-/eslint-plugin-fabmanager-0.1.2.tgz#b38f068b00946c85c51610ecc5b6ea8dd7359a91"
|
||||
integrity sha512-P+Vd6CjSIWMt4DS8Aax0KWletxzcJqTsXIZ/rxdyKwrGpfw5YrJVGxV849oFyQskzcz8v/WMhRp8A98f1rU+2A==
|
||||
|
||||
eslint-plugin-html-erb@^1.0.1:
|
||||
version "1.0.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user