Skip to content

Commit

Permalink
Install prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Apr 6, 2023
1 parent 2fadb0c commit 35b602a
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1,919 deletions.
33 changes: 16 additions & 17 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
extends: 'eslint-config-openlayers'
rules:
no-console: 0
comma-dangle: 0
valid-jsdoc: 0
prettier/prettier: 0
sort-imports-es6-autofix/sort-imports-es6: 0
jsdoc/check-types: 0
jsdoc/require-param-description: 0
jsdoc/require-returns-description: 0
jsdoc/require-property-description: 0
env:
es6: true,

browser: true
es6: true
plugins:
- prettier
extends:
- eslint:recommended
- plugin:prettier/recommended
parserOptions:
ecmaVersion: 11
ecmaFeatures:
generators: false
objectLiteralDuplicateProperties: false
ecmaVersion: 2022
sourceType: module
rules:
eqeqeq: error
no-duplicate-imports: error
no-unused-vars: [error, {vars: all, args: none}]
no-var: error
object-shorthand: [error, consistent]
prefer-arrow-callback: error
prefer-const: error
2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bracketSpacing: false
singleQuote: true
Loading

0 comments on commit 35b602a

Please sign in to comment.