eslint-plugin-filename-rules icon indicating copy to clipboard operation
eslint-plugin-filename-rules copied to clipboard

Results 6 eslint-plugin-filename-rules issues
Sort by recently updated
recently updated
newest added

`includePath` tests against the full path to the filesystem root. For example: ``` 'filename-rules/match': [1, { pattern: 'kebab-case', includePath: true, }], ``` Gets evaluated against: ``` /Users/foo/Documents/projects/widgets/src/table-widget.ts ``` ...which fails....

Numbers do not break kebab-casing rules. Thanks!

```ts "filename-rules/match": [2, { ".tsx": "PascalCase", "*": "camelCase" // everything except tsx, eg. js, ts, json, cjs, }], ``` Can I do that?

Is it possible to pass in a custom error message? Maybe something like this: ``` { files: ['foo/bar/*.ts'], rules: { 'filename-rules/match': [ 'error', { regex: /(.*?)\.(get\.ts|post\.ts)$/, message: 'Files extensions must...

I want a single pattern that allows the following: - camelCase.ts - camelCaseLOL.ts Is this possible?

There was no way to use this plugin without schema with eslint flat config.