Skip to content

Commit

Permalink
fix: mocha issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Dec 23, 2024
1 parent 9abe267 commit 2910959
Show file tree
Hide file tree
Showing 3 changed files with 13 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.1

- fix: mocha issue

## 36.22.0

- fix: great eye node
Expand Down
8 changes: 8 additions & 0 deletions mocha.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
// Todo: Might move these very basic configs (Mocha, and add one for Node
// globals, etc.) to own repo

import {languageOptions} from './detectEnv.js';

/** @type {import('eslint').Linter.Config[]} */
export default [{
name: 'ash-nazg/mocha',
files: ['**/test/**', '**/tests/**', 'cypress/e2e/**'],
languageOptions: {
...(languageOptions.ecmaVersion
? {
ecmaVersion: languageOptions.ecmaVersion
}
: {}
),
globals: {
// Imported nowadays
// chai: 'readonly',
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.0",
"version": "36.22.1",
"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 2910959

Please sign in to comment.