Skip to content

Commit

Permalink
Group stylistic rules
Browse files Browse the repository at this point in the history
  • Loading branch information
niksy committed Apr 14, 2024
1 parent 04b7cb8 commit 32e5828
Show file tree
Hide file tree
Showing 5 changed files with 251 additions and 311 deletions.
7 changes: 0 additions & 7 deletions browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ module.exports = {
node: false,
browser: true
},

plugins: ['eslint-plugin-unicorn'],

rules: {
// Possible errors
'no-console': 2,

// Best practices
'no-implicit-globals': 2,

// Unicorn
'unicorn/no-document-cookie': 2,
'unicorn/require-post-message-target-origin': 2,
'unicorn/prefer-dom-node-append': 0,
Expand Down
Loading

0 comments on commit 32e5828

Please sign in to comment.