Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change should enforce linting on commons NITs picked up in pull requests. 6 Rules have been added. 1. blankLine: 'always', prev: '*', next: 'block': Requires a blank line before a block statement ({}). 2. blankLine: 'always', prev: '*', next: 'expression': Requires a blank line before an expression statement. 3. blankLine: 'always', prev: 'block', next: '*': Requires a blank line after a block statement ({}). 4: blankLine: 'always', prev: 'block', next: 'function': Requires a blank line after a block statement ({}) followed by a function declaration. 5. blankLine: 'always', prev: 'expression', next: '*': Requires a blank line after an expression statement. 6. blankLine: 'always', prev: 'function', next: '*': Requires a blank line after a function declaration. This combination should also enforce the blank space after a describe block and a space before an expect expression in the test files. https://github.com/DEFRA/water-abstraction-team/blob/main/coding_conventions.md
- Loading branch information