Skip to content

Commit

Permalink
RFC: Try to remove ESLint languageOptions (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored Jan 15, 2025
1 parent 631b554 commit fc74c35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .changeset/wet-owls-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'eslint-config-skuba': minor
---

Revert to modern JavaScript language option defaults

- `ecmaVersion: 5 => latest`
- `sourceType: script => module`

See [JavaScript language options](https://eslint.org/docs/latest/use/configure/language-options#specifying-javascript-options) for more information.
9 changes: 0 additions & 9 deletions packages/eslint-config-skuba/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@ module.exports = [
name: 'skuba/typescript',
files: [`**/*.{${tsExtensions}}`],

languageOptions: {
ecmaVersion: 5,
sourceType: 'script',

parserOptions: {
projectService: true,
},
},

rules: {
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/no-floating-promises': 'error',
Expand Down

0 comments on commit fc74c35

Please sign in to comment.