- Bumped
typescript
to 5.4.3 and@typescript-eslint
to 7.4.0.
- Include lowercase
describe
andcontext
blocks inno-only-tests/no-only-tests
.
- Add rule
react/jsx-curly-spacing
to align jsx curly with js curly. - Bumped
eslint-plugin-react
,eslint-plugin-import
andeslint-plugin-n
. - Moved TypeScript restricted syntax to a seperate package
@bonniernews/typescript-rules
. - Uses
@bonniernews/typescript-rules
for TypeScript. - Added
@bonniernews/typescript-rules/disallow-class-extends
also for non-typescript.
- Run tests on all supported node versions
- Bump
@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
. - Use typescript 5.3 for tests
- Loosen react/jsx-max-props-per-line to allow as many props the developer wants on a single line but enforce 1 prop per line if using multiple lines.
- Renamed to @bonniernews/eslint-config
- fixed typescript-react rules to actually check .ts files
- disabled import/named for typescript
- bump typescript deps
- fixed broken release
- tsx support by using
exp/typescript-react
- removed warning for explicit anys
- TypeScript rules.
- Bumped major version of
eslint-plugin-n
to 16. - Bumped major version of
eslint-plugin-no-only-tests
to 3. - Bumped required node version to 16.
- Added TypeScript as an optional peer dependency.
- Allow deprecated url.resolve and url.parse since new URL has unacceptable performance regressions, see nodejs/node#30334.
- Added
"react/jsx-indent-props": [2, 2]
as a rule for react to make indenting jsx props look nice.
- Added support for react using
exp/react
.
Add deprecated rules for node.
- Replace
eslint-plugin-node
witheslint-plugin-n
as the former is no longer maintained.
Added missing afterEachFeature & beforeEachFeature globals for mocha-cakes-2
.
- Added support for ES6 module linting, which is activated if
"type": "module"
in yourpackage.json
- For Node versions 16 and above, the ES2022 environment will be activated
- A new configuration
exp/all
has been added, which adds the test configuration directly in the main.eslintrc.json
Consistent spacing for functions and code blocks.
New rules to format objects: either all properties on the same line OR use multiline.
Updated eslint
peer dependency to v8.
eslint-plugin-node
is now included in the package and has migrated the following rules:
node/handle-callback-err
node/no-path-concat
node/no-process-exit
Behavior remains unchanged.
function
is now exempt from the comma-dangle
rule.
Add the comma-dangle
rule with always-multiline
.
Add the switch-colon-spacing rule.
Remove some ignorePatterns that shouldn't be ignored.
No changes. Fixes bad publish.
Use new-cap in standard configuration.
Initial working version.