mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ff274336ab
Adds a global .eslintrc file for all source files in /browser/devtools. This file defines a set of global variables that are commonly used in /browser/devtools code. The files that import modules with Cu.import will need to define their own globals as /* globals ... */ comments. This file also defines the configuration for all the rules we want to use. This also adds a set of .eslintrc files, one per test directory in /browser/devtools. Each of these files extend from one of 2 parent config files: .eslintrc.xpcshell or .eslintrc.mochitest. The parent config define the set of globals these types of tests have access to (test runner functions, assertion functions, etc.). Finally, this also adds .eslintrc files in /toolkit/devtools for code and tests, which just extend from their counterparts in /browser/devtools.
7 lines
161 B
Plaintext
7 lines
161 B
Plaintext
# Ignore various libs
|
|
toolkit/devtools/jsbeautify/*
|
|
toolkit/devtools/acorn/*
|
|
toolkit/devtools/tern/*
|
|
toolkit/devtools/pretty-fast/*
|
|
toolkit/devtools/sourcemap/*
|