mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore(eslint): add extension to .eslintrc file (#15020)
.eslintrc file without extension is deprecated.
This commit is contained in:
12
.eslintrc.json
Normal file
12
.eslintrc.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "standard",
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"rules": {
|
||||
"no-var": "error",
|
||||
"prefer-const": ["error", {
|
||||
"destructuring": "all"
|
||||
}]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user