Skip to content

Commit

Permalink
chore: Switch from Airbnb to ESLint built-in config
Browse files Browse the repository at this point in the history
Replaced Airbnb ESLint configuration with ESLint's built-in recommended rules. Updated package dependencies accordingly by removing Airbnb-related packages and adding @eslint/js.
  • Loading branch information
kudoh committed Sep 28, 2024
1 parent 19dd0b8 commit 696fdca
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2,284 deletions.
7 changes: 4 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
const airbnbBase = require('eslint-config-airbnb-base');
const jest = require('eslint-plugin-jest');
const js = require('@eslint/js');

module.exports = [
{
ignores: ['!.eleventy.js', 'example']
},
{
files: ["**/*.js"],
rules: {
...airbnbBase.rules,
...js.configs.recommended.rules,
'no-param-reassign': 'off',
'no-undef': 'off',
},
}
},
{
files: ['test/**'],
Expand Down
Loading

0 comments on commit 696fdca

Please sign in to comment.