Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Drop Node < 12, switch to eslint flat config (#16)
* refactor: switch to eslint flat config * chore: apply eslint autofix * chore: up node version requirement * chore: fix eslint errors manually * revert: fixtures change * chore: ignore package-lock.json
- Loading branch information
Showing
8 changed files
with
122 additions
and
110 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
npm-debug.log | ||
.DS_Store | ||
.eslint-release-info.json | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"use strict"; | ||
|
||
const eslintConfig = require("eslint-config-eslint"); | ||
const globals = require("globals"); | ||
|
||
module.exports = [ | ||
{ | ||
ignores: ["tests/fixtures/"] | ||
}, | ||
...eslintConfig, | ||
{ | ||
files: ["tests/**/*"], | ||
languageOptions: { | ||
globals: { | ||
...globals.mocha | ||
} | ||
} | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.