mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1453381
- Enable eslint for Marionette xpcshell tests. r=whimboo
There are currently two exceptions from the normal linting rules that applies to Marionette xpcshell unit tests: - We use camel-casing for our test names. - We have many lines longer than 78 characters. MozReview-Commit-ID: 4MykQujk9lR --HG-- extra : rebase_source : f73e1a8d205eb34d1463f4805ba0fa806f150081
This commit is contained in:
parent
67fe97531f
commit
2f6356ce4f
@ -343,7 +343,6 @@ services/sync/services-sync.js
|
||||
servo/**
|
||||
|
||||
# Remote protocol exclusions
|
||||
testing/marionette/test_*.js
|
||||
testing/marionette/atom.js
|
||||
testing/marionette/legacyaction.js
|
||||
testing/marionette/client
|
||||
|
13
testing/marionette/test/unit/.eslintrc.js
Normal file
13
testing/marionette/test/unit/.eslintrc.js
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
"extends": ["plugin:mozilla/xpcshell-test"],
|
||||
"rules": {
|
||||
"camelcase": "off",
|
||||
"max-len": ["error", 100, {
|
||||
"ignoreStrings": true,
|
||||
"ignoreTemplateLiterals": true,
|
||||
"ignoreUrls": true,
|
||||
}],
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue
Block a user