Open sdudnic opened 9 months ago
I don't think it should be supported by plugins.
Can't you use this?
{
"overrides": {
"files": ["**/engines/**/properties/*.ts"],
"rules": {
"filenames-simple/naming-convention": "off"
}
}
}
https://eslint.org/docs/latest/use/configure/rules#using-configuration-files-1
thanks, I will try
I don't think it should be supported by plugins.
Can't you use this?
{ "overrides": { "files": ["**/engines/**/properties/*.ts"], "rules": { "filenames-simple/naming-convention": "off" } } }
https://eslint.org/docs/latest/use/configure/rules#using-configuration-files-1
is there a way to use the rule for FOLDERS as well? or only for files?
is there a way to use the rule for FOLDERS as well? or only for files?
I don't know because "overrides"
is not my plugin's feature, it's feature of ESLint. And I'm not ESLint's contributer/maitainer.
However, I think you can ignore all files under path/to/dir
using the configuration below.
{
"overrides": {
"files": ["path/to/dir/**/*"],
"rules": {
"filenames-simple/naming-convention": "off"
}
}
}
is there a way to use the rule for FOLDERS as well? or only for files?
I don't know because
"overrides"
is not my plugin's feature, it's feature of ESLint. And I'm not ESLint's contributer/maitainer.However, I think you can ignore all files under
path/to/dir
using the configuration below.{ "overrides": { "files": ["path/to/dir/**/*"], "rules": { "filenames-simple/naming-convention": "off" } } }
I mean, is there a way, with YOUR plugin, to check the FOLDERS, along with the files (nothing to override)
naming-convention
targets basename of file.
In conclusion, it does not check the name of directories.
I would like to use
is that possible, if not please add