Skip to content

Commit

Permalink
feat: make base rules stricter & closer to semistandard (#10)
Browse files Browse the repository at this point in the history
This removes all exceptions from `semistandard` we had in place, except
for `camelcase: off`. This step had already been taken in some of our
repos (e.g. `cordova-js`, `cordova-common`) before.

`camelcase` stays disabled for now as enabling & enforcing it would have
the potential of creating many conflicts with existing work in progress.
  • Loading branch information
raphinesse committed Nov 9, 2019
1 parent 84d08a6 commit a759278
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/base.js
Expand Up @@ -28,9 +28,6 @@ module.exports = {

rules: {
indent: ['error', 4],
camelcase: 'off',
'padded-blocks': 'off',
'operator-linebreak': 'off',
'no-throw-literal': 'off'
camelcase: 'off'
}
};

0 comments on commit a759278

Please sign in to comment.