Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
feat: recommended config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Jul 26, 2023
1 parent 1dd6818 commit 33a1888
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/configs/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import recommended from './recommended';

export { recommended };
8 changes: 8 additions & 0 deletions src/configs/recommended.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const recommended = {
plugins: ['deprecation'],
rules: {
'deprecation/deprecation': 'error',
},
};

export default recommended;
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as rules from './rules';
import * as configs from './configs';

export { rules };
export { configs, rules };

0 comments on commit 33a1888

Please sign in to comment.