@pandell/eslint-config v9.17.0
@pandell/eslint-config
Shared ESLint config for Pandell engineering teams.
Usage
Add the following to your package.json:
{
"devDependencies": {
"@pandell/eslint-config": "^9.17.0",
"eslint": "^9.28.0",
// ...
},
// ...
}Next, create eslint.config.mjs in the root of your project. Explore available properties
in the settings object passed to createPandellEsLintConfig function (see PandellEsLintConfigSettings
in node_modules/@pandell/eslint-config/dist/pandellEsLintConfig.d.ts). Example contents:
// @ts-check
import { createPandellEsLintConfig } from "@pandell/eslint-config";
export default createPandellEsLintConfig({
typescript: {
// type-checked typescript is enabled by default; uncomment the following line to disable:
// typeChecked: false,
// strict typescript is enabled by default; uncomment the following line to disable:
// strict: false,
}
react: { enabled: true },
vite: { enabled: true },
testing: { enabledJsDom: true, enabledTestingLibrary: true },
});For more details and options for configuration, see the ESLint documentation.
You can review your ESLint configuration with ESLint config inspector. It will start a local web server and open browser that navigates to this server, allowing you to visually examine your layers, rules, etc.
yarn run eslint --inspect-config10 months ago
1 year ago
6 months ago
9 months ago
8 months ago
9 months ago
10 months ago
10 months ago
10 months ago
6 months ago
8 months ago
7 months ago
9 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago