mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
chore: lint error on only in mocha tests (#9300)
This commit is contained in:
committed by
Aaron Dodson
parent
86da7dcbfa
commit
84933b9119
@@ -1,6 +1,7 @@
|
||||
import eslint from '@eslint/js';
|
||||
import googleStyle from 'eslint-config-google';
|
||||
import jsdoc from 'eslint-plugin-jsdoc';
|
||||
import mochaPlugin from 'eslint-plugin-mocha';
|
||||
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
||||
import globals from 'globals';
|
||||
import tseslint from 'typescript-eslint';
|
||||
@@ -200,6 +201,9 @@ export default [
|
||||
},
|
||||
{
|
||||
files: ['tests/**'],
|
||||
plugins: {
|
||||
mocha: mochaPlugin,
|
||||
},
|
||||
languageOptions: {
|
||||
globals: {
|
||||
'Blockly': true,
|
||||
@@ -219,6 +223,7 @@ export default [
|
||||
'jsdoc/check-tag-names': ['warn', {'definedTags': ['record']}],
|
||||
'jsdoc/tag-lines': ['off'],
|
||||
'jsdoc/no-defaults': ['off'],
|
||||
'mocha/no-exclusive-tests': 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user