Hygiene: use consistent ESLint severity syntax

Bug: T165036
Change-Id: I43a500fceb8179d30240dbec8ed56f8d4c7551e9
This commit is contained in:
Stephen Niedzielski 2018-03-19 14:44:14 -05:00 committed by Jhernandez
parent 2221055bc1
commit e284163014
2 changed files with 3 additions and 3 deletions

View file

@ -18,13 +18,13 @@
"ReduxThunk": false
},
"rules": {
"dot-notation": [ "error", { "allowKeywords": true } ],
"dot-notation": [ 2, { "allowKeywords": true } ],
"no-use-before-define": 0,
"no-var": 2,
"prefer-const": 1,
"one-var": 0, // Interferes with prefer-const.
"max-len": [
"warn",
1,
{
"tabWidth": 2,
// Exclude by default:

View file

@ -5,7 +5,7 @@
"build": "NODE_ENV=production webpack -p",
"test:node": "node tests/node-qunit/run.js 'tests/node-qunit/**/*.test.js' | tap-dot",
"test:dev": "grunt lint && npm run test:node",
"test": " npm run check-built-assets && npm run test:dev && npm run doc",
"test": "npm run check-built-assets && npm run test:dev && npm run doc",
"doc": "jsdoc -c jsdoc.json",
"doc:start": "nodemon --watch src --exec 'npm run doc'",
"check-built-assets": "echo 'CHECKING BUILD SOURCES ARE COMMITED' && rm -rf test-build && mv resources/dist test-build && npm run build && diff -x '*.map' -qr test-build resources/dist && rm -rf test-build",