-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* package update * unary(+) instead of Number and parseInt * package update * flat eslint * too many badges * fixes due to package update
- Loading branch information
Showing
15 changed files
with
3,877 additions
and
3,654 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 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,31 @@ | ||
const js = require('@eslint/js') | ||
const typescriptParser = require('@typescript-eslint/parser') | ||
const typescriptEslintPlugin = require('@typescript-eslint/eslint-plugin') | ||
const globals = require('globals') | ||
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended') | ||
|
||
module.exports = [ | ||
js.configs.recommended, | ||
eslintPluginPrettierRecommended, | ||
{ ignores: ['**/*.js', 'node_modules'] }, | ||
{ | ||
files: ['src/**/*.ts'], | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
NodeListOf: false, | ||
}, | ||
sourceType: 'module', | ||
parser: typescriptParser, | ||
}, | ||
plugins: { | ||
'@typescript-eslint': typescriptEslintPlugin, | ||
}, | ||
rules: { | ||
'no-inner-declarations': 'off', | ||
'no-unused-vars': 'warn', | ||
// 'no-var': 'off', // Note: Disabled due to issues with target ES5, consider ES2020 | ||
}, | ||
}, | ||
] |
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
Oops, something went wrong.