Skip to content

Commit

Permalink
fix: overrides issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Dec 23, 2024
1 parent 2910959 commit 9d06cc8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# eslint-config-ash-nazg CHANGES

## 36.22.2

- fix: overrides issue

## 36.22.1

- fix: mocha issue
Expand Down
2 changes: 2 additions & 0 deletions overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import greatEyeNode from './great-eye-node.js';
import sauronNode from './sauron-node.js';
import node from './node.js';
import polyglot from './polyglot.js';
import {languageOptions} from './detectEnv.js';

import esCompat from 'eslint-plugin-escompat';

Expand Down Expand Up @@ -156,6 +157,7 @@ export default function overrides (types, pkg) {
'**/server.js'
],
languageOptions: {
ecmaVersion: languageOptions.ecmaVersion,
...config.languageOptions,
globals: {
...config.languageOptions?.globals,
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": "eslint-config-ash-nazg",
"version": "36.22.1",
"version": "36.22.2",
"description": "An expansion and tweaking of the \"standard\" config style for ESLint",
"main": "index.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 9d06cc8

Please sign in to comment.