Skip to content

Commit

Permalink
Run eslint or .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Mar 5, 2019
1 parent d822ba9 commit b51b6f8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .eslintrc.js
Expand Up @@ -21,15 +21,15 @@ module.exports = {
WorkboxSW: false,
},
rules: {
"jsdoc/check-types": 2,
"jsdoc/newline-after-description": 2,
"max-len": [2, {
code: 80,
tabWidth: 2,
ignoreComments: true,
"ignorePattern": "^\\s*import",
"ignoreUrls": true
}]
'jsdoc/check-types': 2,
'jsdoc/newline-after-description': 2,
'max-len': [2, {
'code': 80,
'tabWidth': 2,
'ignoreComments': true,
'ignorePattern': '^\\s*import',
'ignoreUrls': true,
}],
},
plugins: [
'jsdoc',
Expand All @@ -41,7 +41,7 @@ module.exports = {
mocha: true,
},
globals: {
expectError: false
expectError: false,
},
rules: {
'max-len': 0,
Expand Down Expand Up @@ -72,7 +72,7 @@ module.exports = {
}, {
files: [
'gulp-tasks/**/*.js',
'infra/**/*.js'
'infra/**/*.js',
],
rules: {
'valid-jsdoc': 0,
Expand All @@ -83,8 +83,8 @@ module.exports = {
'infra/testing/**/*',
],
env: {
'mocha': true
}
'mocha': true,
},
}, {
files: [
'test/workbox-build/static/**/*.js',
Expand All @@ -100,8 +100,8 @@ module.exports = {
rules: {
'max-len': 0,
},
}
, {
},
{
files: [
'packages/workbox-sw/**/*',
],
Expand All @@ -126,7 +126,7 @@ module.exports = {
'header',
],
rules: {
'header/header': [2, 'block', {pattern: 'Copyright \\d{4} Google LLC'}]
}
'header/header': [2, 'block', {pattern: 'Copyright \\d{4} Google LLC'}],
},
}],
};

0 comments on commit b51b6f8

Please sign in to comment.