mirror of
https://github.com/electron/electron.git
synced 2026-02-18 02:51:53 -05:00
* chore: replace standard with eslint-config-standard This adds support for --cache so linting JS only takes ~1 second and only lints things that changed It also allows us to add custom linting rules * chore: add eslint-plugin-mocha and enable the no-exclusive-tests rule This will block anyone from pushing / merging a `.only` test or describe
21 lines
297 B
Plaintext
21 lines
297 B
Plaintext
{
|
|
"env": {
|
|
"browser": true,
|
|
"mocha": true,
|
|
"jquery": true,
|
|
"serviceworker": true
|
|
},
|
|
"globals": {
|
|
"Bindings": true,
|
|
"Components": true,
|
|
"UI": true,
|
|
"WebView": true
|
|
},
|
|
"plugins": [
|
|
"mocha"
|
|
],
|
|
"rules": {
|
|
"mocha/no-exclusive-tests": "error"
|
|
}
|
|
}
|