Skip to content

Commit 2ba4378

Browse files
authored
chore: add linting to action core javascript files (#1370)
1 parent 1052aa9 commit 2ba4378

File tree

3 files changed

+995
-2
lines changed

3 files changed

+995
-2
lines changed

eslint.config.mjs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import globals from 'globals'
2+
import pluginJs from '@eslint/js'
3+
4+
export default [
5+
pluginJs.configs.recommended,
6+
{ name: 'global-ignores', ignores: ['dist/', 'examples/'] },
7+
{
8+
name: `all-js`,
9+
languageOptions: {
10+
globals: {
11+
...globals.browser,
12+
...globals.node
13+
}
14+
}
15+
}
16+
]

0 commit comments

Comments
 (0)