Skip to content

Commit

Permalink
Updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanoya committed Dec 31, 2022
1 parent 2895ada commit fb4af6f
Show file tree
Hide file tree
Showing 14 changed files with 3,019 additions and 2,811 deletions.
27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
parserOptions: {
sourceType: 'module',
},
env: {
es6: true,
browser: true,
jquery: true,
},
extends: ['eslint:recommended', 'airbnb-base', 'plugin:prettier/recommended'],
rules: {
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
indent: ['error', 2],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'linebreak-style': ['error', 'unix'],
'no-unused-vars': [
'error',
{
argsIgnorePattern: 'next',
},
],
'eol-last': ['error', 'always'],
'class-methods-use-this': 0,
'func-names': 0,
},
};
28 changes: 0 additions & 28 deletions .eslintrc.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
package-lock.json
dist
examples
*.md
*.css
*.html
10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 80,
tabWidth: 2,
useTabs: false,
bracketSameLine: true,
endOfLine: 'lf',
};
Loading

0 comments on commit fb4af6f

Please sign in to comment.