Releases: quitsmx/eslint-config
Releases · quitsmx/eslint-config
v0.5.5
v0.5.4
[0.5.4] - 2021-05-17
Changed
- Updated dependencies
Removed
- react/jsx-handler-names because conflict with @typescript-eslint/naming-convention
v0.5.3
[0.5.3] - 2021-05-01
Changed
- In the
overrides
block of the .eslintrc.json generated byquits-eslint-init
:- Add "
./*.js
" to include JS files in the root. - Add "
rollup.config.js,scripts/**.**/*.ts
" to enable ES6import
/export
directives. - Separate "
bin/**/*
" to enable node/no-unpublished-require as error.
- Add "
- Move "confusing-browser-globals" from
dependencies
todevDependencies
. - Include files in the root and "bin" folders in the test.
- Update Readme.
Removed
- node/no-unpublished-require, since this rule only makes sense in the "bin" folder.
v0.5.2
v0.5.1
[0.5.1] - unreleased
Added
- .editorconfig file.
Changed
- Remove
warnOnUnsupportedTypeScriptVersion
to allow TypeScript version check. - Include "PascalCase" format for functions and methods in
@typescript-eslint/naming-convention
to allow Functional Components in react and preact.
Fixed
- Move
ecmaVersion
andecmaFeatures
to theparserOptions
block, the correct one. - Fix lint errors and tests.
v0.5.0
[0.5.0] - 2021-04-27
Changed
In build time, the configuration of this package are based on the eslint-config-prettier, eslint-config-standard and eslint-config-standard-jsx packages, which are not required in runtime.
Several rules have been changed to fit the new base and others have been added.
Include workaround for typescript-eslint/typescript-eslint#2540
Updated bin/quits-eslint-init
Removed
- unicorn/no-zero-fractions - sometimes a trailing zero improves clarity
- bin/list-eslint-config - use
yarn eslint --print-config
- eslint-plugin-jsx-a11y - It is easy to install from npm
- eslint-plugin-react-perf -
react/jsx-no-bind
is enough
v0.4.2
v0.4.1
[0.4.1] - 2021-03-05
Added
curly
as warn, only for multi-line (PrettierX doesn't force braces).- react package to
devDependencies
to allow test the "react" config.
Changed
- Update dependencies.
Fixed
@typescript-eslint/no-for-in-array
must be in 'ts-runtime' only.
v0.4.0
[0.4.0] - 2021-02-19
Added
publishConfig.access: 'public'
in package.json
Changed
- Use
@typescript-eslint/no-shadow
insteadno-shadow
in TypeScript files.
The following @typescript-eslint
runtime rules are disabled:
no-unnecessary-condition
prefer-readonly-parameter-types
prefer-readonly
prefer-string-starts-ends-with
strict-boolean-expressions
unbound-method
v0.3.1
[0.3.1] - 2021-02-18
Changed
- Minor fixes to the Readme
- Add missing
"spaceBeforeFunctionParen": true
to .prettierrc.json - Now
quits-eslint-init
creates a '.vscode/settings.json' file with basic VS Code settings to apply '@quitsmx/eslint-config' to JavaScript files, with automatic format on save. - Update dependencies.