Skip to content

Commit

Permalink
Lint with eslint and standard
Browse files Browse the repository at this point in the history
Add eslint lint with a standard base

extended to teams alphabetical order
  • Loading branch information
jonathangoulding committed Apr 26, 2024
1 parent 9c0cc37 commit fbee471
Show file tree
Hide file tree
Showing 3 changed files with 1,852 additions and 751 deletions.
15 changes: 15 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
extends: 'standard', // Maintain Standard.js rules
// ignorePatterns: ['test/*'],
plugins: ['sort-keys', 'require-sort'],
rules: {
'func-style': ['error', 'declaration'],
'max-len': ['error', {
code: 120
}],
'require-sort/require-sort': 'error',
'sort-keys': [
'error', 'asc', { caseSensitive: false }
]
}
}
Loading

0 comments on commit fbee471

Please sign in to comment.