Bot releases are visible (Hide)
Published by belgattitude about 1 year ago
5061142
Thanks @belgattitude! - All plugins to latestPublished by belgattitude about 1 year ago
31041e4
Thanks @belgattitude! - All plugins to latestPublished by belgattitude about 1 year ago
3f04d33
Thanks @belgattitude! - All plugins to latestPublished by belgattitude about 1 year ago
f6212cf
Thanks @belgattitude! - Typescript eslint parser to latestPublished by belgattitude about 1 year ago
68d1317
Thanks @belgattitude! - Add and enable eslint-plugin-unused-importsPublished by belgattitude about 1 year ago
387d442
Thanks @belgattitude! - Typescript 5.2 supportPublished by belgattitude about 1 year ago
#333 989f01e
Thanks @belgattitude! - Relax misused promises
#333 989f01e
Thanks @belgattitude! - All plugins to latest
989f01e
Thanks @belgattitude! - Relax some strict rules for test filesPublished by belgattitude about 1 year ago
7098b27
Thanks @belgattitude! - Relax restrict-template-expressions to allow number, boolean, any, never and nullishPublished by belgattitude about 1 year ago
d768869
Thanks @belgattitude! - Disable typescript parser for mdxPublished by belgattitude about 1 year ago
#313 bcf21d7
Thanks @belgattitude! - Allow static in unbound-method
#312 7f9b143
Thanks @belgattitude! - Disable @typescript-eslint/unbound-method for test files
#312 7f9b143
Thanks @belgattitude! - Add jest/unbound-method for test files
bffc1b1
Thanks @belgattitude! - Disable type checked for mdx and mjsPublished by belgattitude about 1 year ago
#310 bb2a81e
Thanks @belgattitude! - Update to typescript eslint v6 strict
See https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/
The latest version activates the following recommendations:
By default @typescript-eslint/consistent-type-definitions
has been disabled. To activate add it to the rules:
module.exports = {
rules: {
'@typescript-eslint/consistent-type-definitions': 'error',
},
};
.eslintrc.cjs
to explicitly set parser: '@typescript-eslint/parser'
..eslintrc.*s
to your includes.yarn lint
to list new errors.yarn lint --fix
to attempt an autofix./<project>/.eslintrc.cjs
0:0 error Parsing error: ESLint was configured to run on `<tsconfigRootDir>/.eslintrc.cjs` using `parserOptions.project`: <tsconfigRootDir>/tsconfig.json
However, that TSConfig does not include this file. Either:
- Change ESLint's list of included files to not include this file
- Change that TSConfig to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
Add .eslintrc.*s
to your tsconfig included files. For example:
{
exclude: ['**/node_modules', '.next', '**/.*/*'],
include: [
'.eslintrc.*s',
// "next-env.d.ts",
// "**/*.ts",
// "**/*.tsx",
// "**/*.js",
// "**/*.jsx",
// "**/*.cjs",
// "**/*.mjs",
// "**/*.json",
// ".next/types/**/*.ts",
// ".storybook/**/*.ts",
// ".storybook/**/*.tsx"
],
}
Published by belgattitude about 1 year ago
048e66b
Thanks @belgattitude! - Add .turbo and .out as default ignored patternsPublished by belgattitude about 1 year ago
a70be44
Thanks @belgattitude! - Remove naming conventionsPublished by belgattitude about 1 year ago
#295 f5151de
Thanks @belgattitude! - Make "eslint-plugin-tailwindcss" optional
To enable
yarn add --dev eslint-plugin-tailwindcss
In eslint config,
module.exports = {
extends: [
// ....
'@belgattitude/eslint-config-bases/tailwind',
// ....
],
};
#293 1c1a931
Thanks @belgattitude! - Add example app to run lint test
#293 1c1a931
Thanks @belgattitude! - To latest eslint plugins
Published by belgattitude over 1 year ago
1908e87
Thanks @belgattitude! - Add support for prettier 3.0Published by belgattitude over 1 year ago
22d01ec
Thanks @belgattitude! - To latest eslint plugins patchesPublished by belgattitude over 1 year ago
c3c7204
Thanks @belgattitude! - To latest eslint plugins (minor)Published by belgattitude over 1 year ago
aa16785
Thanks @belgattitude! - To latest eslint plugin patchPublished by belgattitude over 1 year ago
75963c8
Thanks @belgattitude! - To latest eslint pluginsPublished by belgattitude over 1 year ago
e7ebd5b
Thanks @belgattitude! - Update rushstack/eslint-patch to latest