Skip to content

Commit

Permalink
chore: bump version to v0.15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Jun 11, 2024
1 parent f44c765 commit c4fcb52
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.15.6] - 2024-06-11
## Fixed
+ Fix global ignores

## [0.15.5] - 2024-06-11
## Fixed
+ Fix global ignores
Expand Down Expand Up @@ -223,7 +227,8 @@ Update several rules
### Added
- First release!

[unreleased]: https://github.com/arianrhodsandlot/eslint-config/compare/v0.15.5...HEAD
[unreleased]: https://github.com/arianrhodsandlot/eslint-config/compare/v0.15.6...HEAD
[0.15.6]: https://github.com/arianrhodsandlot/eslint-config/compare/v0.15.5...v0.15.6
[0.15.5]: https://github.com/arianrhodsandlot/eslint-config/compare/v0.15.4...v0.15.5
[0.15.4]: https://github.com/arianrhodsandlot/eslint-config/compare/v0.15.3...v0.15.4
[0.15.3]: https://github.com/arianrhodsandlot/eslint-config/compare/v0.15.2...v0.15.3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arianrhodsandlot/eslint-config",
"version": "0.15.5",
"version": "0.15.6",
"description": "A set of predefined ESLint config.",
"keywords": [
"eslint",
Expand Down
7 changes: 6 additions & 1 deletion src/create-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import _ from 'lodash'
import { getCustomFlatConfigs } from './flat-configs/custom/index.js'
import { getRecommendedFlatConfigs } from './flat-configs/recommended/index.js'
import {
getGitIgnores,
getPackageField,
isPackageInstalled,
isServerProject,
Expand Down Expand Up @@ -52,7 +53,11 @@ export function createConfig(
const customFlatConfig = getCustomFlatConfigs()
const prepend = Array.isArray(options.prepend) ? options.prepend : [options.prepend]
const append = Array.isArray(options.append) ? options.append : [options.append]
const config = [...recommendedFlatConfig, ...customFlatConfig]
const config = [
...recommendedFlatConfig,
...customFlatConfig,
{ ignores: ['node_modules/**/*', 'dist/**/*', '**/vendor?(s)/**/*', ...getGitIgnores()] },
]
if (prepend) {
config.unshift(...prepend)
}
Expand Down
7 changes: 1 addition & 6 deletions src/flat-configs/recommended/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ import js from '@eslint/js'
import globals from 'globals'
import tseslint from 'typescript-eslint'
import { jsOrTsGlob } from '../../lib/constants.js'
import { getGitIgnores } from '../../lib/utils.js'
import type { FlatConfigs } from '../../types/eslint.js'

export const baseConfigs: FlatConfigs = [
{
ignores: ['node_modules/**/*', 'dist/**/*', '**/vendor?(s)/**/*', ...getGitIgnores()],
files: [jsOrTsGlob],
languageOptions: {
globals: {
...globals.browser,
Expand All @@ -21,10 +20,6 @@ export const baseConfigs: FlatConfigs = [
linterOptions: { reportUnusedDisableDirectives: true },
name: 'base',
},
{
files: [jsOrTsGlob],
name: 'base',
},
{
name: '@eslint/js/recommended',
...js.configs.recommended,
Expand Down

0 comments on commit c4fcb52

Please sign in to comment.