aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-09-02 17:24:55 +0200
committerGitHub <noreply@github.com>2020-09-02 17:24:55 +0200
commit8612018d4eb570b39532fca8344a187d2e95f98e (patch)
tree52bae79f11f8615fd26ffb02b157c296b51a421a /test/unit/ajax.js
parenta4421101fd6d9d7b0550210f8e8690641733dd9a (diff)
downloadjquery-8612018d4eb570b39532fca8344a187d2e95f98e.tar.gz
jquery-8612018d4eb570b39532fca8344a187d2e95f98e.zip
Build: Make the import/no-unused-modules ESLint rule work in WebStorm
When run via WebStorm, the root path against which paths in the config of the `import/no-unused-modules` ESLint rule are resolved is the path where the ESLint config file that defines the rule lies, i.e. `src`. When run via the command line, it's usually the root folder of the jQuery repository. This pattern intends to catch both. Note that we cannot specify two patterns here: ```js [ "src/*.js", "*.js" ] ``` as they're analyzed individually and the rule crashes if a pattern cannot be matched. Closes gh-4777
Diffstat (limited to 'test/unit/ajax.js')
0 files changed, 0 insertions, 0 deletions