Skip to content

Commit

Permalink
New: removes duplicates unicorn/no-process-exit rule
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed May 26, 2021
1 parent 70db68f commit 1ea74b1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
29 changes: 29 additions & 0 deletions src/plugins/unicorn.js
@@ -0,0 +1,29 @@
const plugins = [ 'unicorn' ];
const recommended = [ 'plugin:unicorn/recommended' ];
const rules = {
'unicorn/custom-error-definition' : 2,
'unicorn/no-unused-properties' : 2,
'unicorn/no-unsafe-regex' : 2,
'unicorn/prevent-abbreviations' : 0,
'unicorn/no-null' : 0,
'unicorn/prefer-node-protocol' : 0,
'unicorn/consistent-destructuring' : 0,
'unicorn/prefer-module' : 0,
'unicorn/no-process-exit' : 0, // duplicates base no-process-exit

'unicorn/filename-case' : [
'error',
{
'cases' : {
'camelCase' : true,
'pascalCase' : true
}
}
]
};

export {
plugins,
recommended as extends,
rules
};
24 changes: 0 additions & 24 deletions src/plugins/unicorn.json

This file was deleted.

0 comments on commit 1ea74b1

Please sign in to comment.