JSCS Cleanup - Include angular plugin for auth js
Enable the angular-eslint plugin on the horizon/static/auth so that 'npm run lint' continues to work. It broke recently as the plugin was removed but the rules kept. It also removes setup of the old rules. Change-Id: I65733c62dc5cce46795fbd92bf2b9e3e39c02d4e Partially-Implements: blueprint jscs-cleanup
This commit is contained in:
parent
a336dbd707
commit
8f2b64ab17
@ -1,21 +1,6 @@
|
||||
# ESLint styles for Horizon's Legacy javascript code. These rule overrides exist to enforce an
|
||||
# older linting style, to ensure backward compatibility.
|
||||
|
||||
rules:
|
||||
|
||||
# Various rules applicable to our new Code Style guidelines were only intermittently enforced
|
||||
# in the legacy code, and were not addressed during the JSCS move. This disables the applicable
|
||||
# rules.
|
||||
camelcase: 0
|
||||
max-len: 0
|
||||
space-before-blocks: 0
|
||||
one-var: 0
|
||||
space-infix-ops: 0
|
||||
space-after-keywords: 0
|
||||
no-console: 0
|
||||
no-multiple-empty-lines: 0
|
||||
no-sync: 0
|
||||
no-process-exit: 0
|
||||
space-unary-ops: 0
|
||||
curly: 0
|
||||
indent: 0
|
||||
# Enable eslint-plugin-angular
|
||||
plugins:
|
||||
- angular
|
||||
|
Loading…
x
Reference in New Issue
Block a user