2.2.3 • Published 1 year ago
eslint-config-standard-ext v2.2.3
An extended standard eslint configuration
Using almost same rules as the original standard.
Almost:
space-before-function-paren: NO more space before function paren.comma-dangle: Require trailing commas.quote-props: Consistent as needed.
Thanks to antfu/eslint-config extended to support:
- Using ESLint Stylistic
- Designed to work with TypeScript, JSX, Vue, JSON, YAML, Toml, Markdown, etc. Out-of-box.
- Auto fix for formatting (aimed to be used standalone without Prettier)
- Opinionated, but very customizable
- ESLint Flat config, compose easily!
- Optional React, Svelte, UnoCSS, Astro, Solid support
- Optional formatters support for formatting CSS, HTML, XML, Astro, etc.
- Respects
.gitignoreby default - Supports ESLint v9 or v8.50.0+
Install
$ npm install --save-dev eslint eslint-config-standard-extUsage
create eslint.config.(m)js in your project root:
// eslint.config.js
import { standard } from 'eslint-config-standard-ext'
export default standard()Improved support for Astro files
// eslint.config.js
import { standard } from 'eslint-config-standard-ext'
export default standard({
astro: {
config: 'all' | 'base' | 'recommended' | 'jsx-a11y-recommended' | 'jsx-a11y-strict' | undefined,
overrides: {} | undefined
} | true
})Customization
It uses same options as antfu/eslint-config
Additional options:
- javascript.organizeImports:
boolean=trueAdd support for sorting imports/exports.
2.2.1
1 year ago
2.2.3
1 year ago
2.2.2
1 year ago
2.2.0
1 year ago
2.1.1
1 year ago
2.1.0
1 year ago
2.0.0
1 year ago
1.1.0
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
0.0.24
1 year ago
0.0.25
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
0.0.26
1 year ago
0.0.27
1 year ago
0.0.23
2 years ago
0.0.20
2 years ago
0.0.21
2 years ago
0.0.22
2 years ago
0.0.19
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.9
2 years ago
0.0.16
2 years ago
0.0.8
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago