4.2.1 • Published 1 month ago
@joshunrau/eslint-config v4.2.1
ESLint Config
Install
pnpm add -D @joshunrau/eslint-config eslint
Usage
eslint.config.js
import { config } from '@joshunrau/eslint-config';
// These are the defaults, override as needed depending on project
export default config({
env: { browser: true, es2021: true, node: true },
exclude: [],
jsdoc: { enabled: false },
json: { enabled: true, sort: { packageJson: true, tsconfig: true } },
perfectionist: { enabled: true },
react: { enabled: false },
typescript: { enabled: true }
});
VSCode
settings.json
{
"eslint.validate": [
"javascript",
"javascriptreact",
"astro",
"typescript",
"typescriptreact",
"javascript",
"javascriptreact",
"json",
"jsonc"
]
}
4.2.1
1 month ago
4.2.0
1 month ago
4.1.0
1 month ago
4.0.3
1 month ago
4.0.2
2 months ago
4.0.1
2 months ago
4.0.0
2 months ago
3.4.3
3 months ago
3.4.2
3 months ago
2.1.3
11 months ago
3.4.0
6 months ago
3.3.1
7 months ago
3.2.2
7 months ago
3.1.3
7 months ago
3.3.0
7 months ago
3.2.1
7 months ago
3.1.2
7 months ago
3.2.0
7 months ago
3.1.1
7 months ago
3.0.2
7 months ago
3.1.0
7 months ago
3.0.1
7 months ago
3.2.5
7 months ago
3.2.4
7 months ago
3.4.1
6 months ago
3.3.2
7 months ago
3.2.3
7 months ago
3.1.4
7 months ago
3.0.0
7 months ago
2.1.2
11 months ago
2.1.1
12 months ago
2.0.2
12 months ago
2.1.0
12 months ago
2.0.1
12 months ago
2.0.0
12 months ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago