Skip to content

Updates

Compare
Choose a tag to compare
@TheJaredWilcurt TheJaredWilcurt released this 10 Mar 01:33
· 11 commits to main since this release
38c4f02
  • Updated linting rules:
    • Now targets ES2022
    • Rules all have comments to explain their use
    • Parenthesis are now mandatory in Arrow function definitions
    • In objects keys now require a space between them and values
    • Console and Debugger linting errors were removed, they only applied to NODE_ENV of 'production' anyway
    • No empty lines at the top of the file.
    • One empty line at the bottom of a file for git (EOF)
    • No more than 2 consecutive empty lines anywhere else
    • When splitting up boolean checks the && goes at the end of the line
    • An functions and if blocks cannot start or end with an empty line
  • Added Code of Conduct
  • Created a no-restricted-syntax.json file for merging with other rules
  • Update README to include instructions regarding no-restricted-syntax.json
  • Updated devDependencies
  • Set up self-linting of this repo using it's own rules
  • Added a test file to use when verifying new rules