UNPKG

eslint-plugin-filenames-simple

Version:

An ESLint plugin to check filenames with simple configuration

149 lines (96 loc) 4.99 kB
# Unreleased ## Features ## Bugfixes ## Others # 0.9.0 ## Features - [#675](https://github.com/epaew/eslint-plugin-filenames-simple/pull/675) - Update package.json - work with Node.js v20 (or later) ## Bugfixes ## Others - [#603](https://github.com/epaew/eslint-plugin-filenames-simple/pull/603) - Fix type error caused by https://github.com/typescript-eslint/typescript-eslint/pull/5386 # 0.8.0 ## Features - [#600](https://github.com/epaew/eslint-plugin-filenames-simple/pull/600) - Remove support Node.js < 14.17 - Add support for Node.js 18.x ## Others - [#465](https://github.com/epaew/eslint-plugin-filenames-simple/pull/465) - Update prettier configuration. - [#598](https://github.com/epaew/eslint-plugin-filenames-simple/pull/598) - [#601](https://github.com/epaew/eslint-plugin-filenames-simple/pull/601) - Upgrade some dependencies # 0.7.0 ## Features - [#416](https://github.com/epaew/eslint-plugin-filenames-simple/pull/416) - Remove support for ESLint 6.x and Node.js < 12.22 - Add support for ESLint 8.x and Node.js 16.x # 0.6.0 ## Features - [#199](https://github.com/epaew/eslint-plugin-filenames-simple/pull/199) Add new rule `typescript-module-declaration`. - [#202](https://github.com/epaew/eslint-plugin-filenames-simple/pull/202) - Deprecates the rule `extname` - Add new rule `extension` ## Bugfixes - [#198](https://github.com/epaew/eslint-plugin-filenames-simple/pull/198) False positive detection of ExportNamedDeclaration in TSModuleBlock. (Mixed in [#196](https://github.com/epaew/eslint-plugin-filenames-simple/pull/196)) - [#200](https://github.com/epaew/eslint-plugin-filenames-simple/pull/200) Fix the message of the rule `named-export` reports. ## Others - [#196](https://github.com/epaew/eslint-plugin-filenames-simple/pull/196) Refactor `rules/named-export` to use `context.getDeclaredVariables()`. # 0.5.0 ## Bugfixes - [#156](https://github.com/epaew/eslint-plugin-filenames-simple/pull/156) False positives when exported name does not strictly follow PascalCase. - [#158](https://github.com/epaew/eslint-plugin-filenames-simple/pull/158) Fixup the behavior of utils/split-name when the specific PascalCased name is given. ## Others - [#51](https://github.com/epaew/eslint-plugin-filenames-simple/pull/51) Use `core-js` as replacement of my own polyfill implementation. - [#147](https://github.com/epaew/eslint-plugin-filenames-simple/pull/147) Refactor utils/pluralize: Remove dependency on `eslint` package. - [#149](https://github.com/epaew/eslint-plugin-filenames-simple/pull/149) Refactoring: Replace utils/preset-cases with utils/preset-rules. - [#148](https://github.com/epaew/eslint-plugin-filenames-simple/pull/148) Refactoring: Add utils/case-validator to reduce complexity of rules/naming-convention. # 0.4.0 ## Features - [#12](https://github.com/epaew/eslint-plugin-filenames-simple/pull/12) Add new rule `pluralize` - [#37](https://github.com/epaew/eslint-plugin-filenames-simple/pull/37) Add options for the rule `named-export` to limit the filenames to which this rule applies. - [#38](https://github.com/epaew/eslint-plugin-filenames-simple/pull/38) Change where to get the dictionaries for the rule `pluralize`. - [#47](https://github.com/epaew/eslint-plugin-filenames-simple/pull/47) Update option of rule `named-export` in `configs.recommended` # 0.3.1 ## Bugfixes - [#27](https://github.com/epaew/eslint-plugin-filenames-simple/pull/27) Fixed the behavior that ESLint execution fails when the lint target includes TypeScript notation and the rule `named-export` is enabled. - [#30](https://github.com/epaew/eslint-plugin-filenames-simple/pull/30) - Fixed false positives when statement contains both default export and single named export. - Fixed false positives when statement contains both all export (`export *`) and single named export. # 0.3.0 ## Features - [#9](https://github.com/epaew/eslint-plugin-filenames-simple/pull/9) Add new rule `no-index` - [#21](https://github.com/epaew/eslint-plugin-filenames-simple/pull/21) Add new rule `named-export` ## Others - [#10](https://github.com/epaew/eslint-plugin-filenames-simple/pull/10) Add CHANGELOG.md - [#17](https://github.com/epaew/eslint-plugin-filenames-simple/pull/17) Update package keywords - Generate type declaration files # 0.2.0 ## Features - [Caution] [#2](https://github.com/epaew/eslint-plugin-filenames-simple/pull/2) Rename rule `casing` to `naming-convention` - [#4](https://github.com/epaew/eslint-plugin-filenames-simple/pull/4) Add rule `extname` - [#5](https://github.com/epaew/eslint-plugin-filenames-simple/pull/5) Add rule presets ## Bugfixes - [#3](https://github.com/epaew/eslint-plugin-filenames-simple/pull/3) Fixup suggested filename in error message ## Others - [#1](https://github.com/epaew/eslint-plugin-filenames-simple/pull/1) Fixup required version of Node.js and ESLint # 0.1.1 ## Others - Fixup package metadata # 0.1.0 Initial release